diff --git a/sites/all/modules/ckeditor/ckeditor.module b/sites/all/modules/ckeditor/ckeditor.module index 73344ba..761bfbf 100644 --- a/sites/all/modules/ckeditor/ckeditor.module +++ b/sites/all/modules/ckeditor/ckeditor.module @@ -815,7 +815,7 @@ function ckeditor_process_textarea($element) { } break; case 'imce': - $settings[$textarea_id]['filebrowserBrowseUrl'] = $host ."index.php?q=imce&app=ckeditor|sendto@ckeditor_fileUrl|"; + $settings[$textarea_id]['filebrowserBrowseUrl'] = $host ."imce?app=ckeditor|sendto@ckeditor_fileUrl|"; break; case 'webfm': if (user_access('access webfm')) { @@ -849,7 +849,7 @@ function ckeditor_process_textarea($element) { } break; case 'imce': - $settings[$textarea_id]['filebrowserImageBrowseUrl'] = $host ."index.php?q=imce&app=ckeditor|sendto@ckeditor_fileUrl|"; + $settings[$textarea_id]['filebrowserImageBrowseUrl'] = $host ."imce?app=ckeditor|sendto@ckeditor_fileUrl|"; break; case 'webfm': if (user_access('access webfm')) { @@ -884,7 +884,7 @@ function ckeditor_process_textarea($element) { } break; case 'imce': - $settings[$textarea_id]['filebrowserFlashBrowseUrl'] = $host ."index.php?q=imce&app=ckeditor|sendto@ckeditor_fileUrl|"; + $settings[$textarea_id]['filebrowserFlashBrowseUrl'] = $host ."imce?app=ckeditor|sendto@ckeditor_fileUrl|"; break; case 'webfm': if (user_access('access webfm')) { diff --git a/sites/all/modules/ckeditor/plugins/imce/plugin.js b/sites/all/modules/ckeditor/plugins/imce/plugin.js index 3d7dd0c..f861f4a 100644 --- a/sites/all/modules/ckeditor/plugins/imce/plugin.js +++ b/sites/all/modules/ckeditor/plugins/imce/plugin.js @@ -25,7 +25,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license var width = editor.config.filebrowserWindowWidth || '80%', height = editor.config.filebrowserWindowHeight || '70%'; - editor.popup(Drupal.settings.basePath + 'index.php?q=imce\x26app=ckeditor|sendto@ckeditor_setFile|&CKEditorFuncNum=' + editor._.filebrowserFnIMCE, width, height); + editor.popup(Drupal.settings.basePath + 'imce?app=ckeditor|sendto@ckeditor_setFile|&CKEditorFuncNum=' + editor._.filebrowserFnIMCE, width, height); } });