Ticket #4348: 4348_2.patch

File 4348_2.patch, 515 bytes (added by garry.yao, 23 months ago)
  • _source/core/ckeditor_base.js

     
    136136                                                path = location.href.match( /^[^\?]*\/(?:)/ )[0] + path; 
    137137                                } 
    138138 
     139                                if( !path ) 
     140                                                throw '[CKEDITOR] Installation path not found, please set the global variable "CKEDITOR_BASEPATH" before creating editor instances.'; 
     141 
    139142                                return path; 
    140143                        })(), 
    141144 
© 2003 – 2011 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy