title: base_url() use in ckeditor config.js file
body: <p>how we can use base url in js file using codeigniter</p>
  
  <pre><code>CKEDITOR.editorConfig = function( config ) {
      // Define changes to default configuration here. For example:
      // config.language = 'fr';
      // config.uiColor = '#AADC6E';
  
      // ...
     config.filebrowserBrowseUrl = '/codeigniter/kpminerals/support/editor/ckeditor/kcfinder/browse.php?opener=ckeditor&amp;type=files';
     config.filebrowserImageBrowseUrl = '/codeigniter/kpminerals/support/editor/ckeditor/kcfinder/browse.php?opener=ckeditor&amp;type=images';
     config.filebrowserFlashBrowseUrl = '/codeigniter/kpminerals/support/editor/ckeditor/kcfinder/browse.php?opener=ckeditor&amp;type=flash';
     config.filebrowserUploadUrl = '/codeigniter/kpminerals/support/editor/ckeditor/kcfinder/upload.php?opener=ckeditor&amp;type=files';
     config.filebrowserImageUploadUrl = '/codeigniter/kpminerals/support/editor/ckeditor/kcfinder/upload.php?opener=ckeditor&amp;type=images';
     config.filebrowserFlashUploadUrl = '/codeigniter/kpminerals/support/editor/ckeditor/kcfinder/upload.php?opener=ckeditor&amp;type=flash';
  // ...
  };
  </code></pre>
  
  <p>use base_url here</p>
  
  <pre><code>config.filebrowserImageBrowseUrl = base_url().'/codeigniter/kpminerals/support/editor/ckeditor/kcfinder/browse.php?opener=ckeditor&amp;type=images';
  </code></pre>
  
  <h2>but not work base_url</h2>