Index: wysiwyg_editor.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/wysiwyg/wysiwyg_editor.module,v
retrieving revision 1.16
diff -u -p -r1.16 wysiwyg_editor.module
--- wysiwyg_editor.module	8 Jul 2008 02:54:21 -0000	1.16
+++ wysiwyg_editor.module	29 Jul 2008 15:23:03 -0000
@@ -139,7 +139,7 @@ function wysiwyg_editor_load() {
       'status' => $status,
       // If JS compression is enabled, at least TinyMCE is unable to determine
       // its own base path and exec mode since it can't find the script name.
-      'editorBasePath' => $GLOBALS['base_url'] . base_path() . $path_editor,
+      'editorBasePath' => base_path() . $path_editor,
       'execMode' => $exec_mode,
     )), 'setting');
     // Add our stylesheet to stack editor buttons into one row.
