MDL-23638 wrong sting concat in in spellchecker path - credit goes to Basil Gohar
authorPetr Skoda <skodak@moodle.org>
Wed, 4 Aug 2010 19:51:49 +0000 (19:51 +0000)
committerPetr Skoda <skodak@moodle.org>
Wed, 4 Aug 2010 19:51:49 +0000 (19:51 +0000)
lib/editor/tinymce/lib.php

index b6b2ab0..477f1a3 100644 (file)
@@ -130,7 +130,7 @@ class tinymce_texteditor extends texteditor {
                     'theme_advanced_resizing' => true,
                     'theme_advanced_toolbar_location' => "top",
                     'theme_advanced_statusbar_location' => "bottom",
-                    'spellchecker_rpc_url' => $CFG->wwwroot."/lib/editor/tinymce/tiny_mce/'.$this->version.'/plugins/spellchecker/rpc.php"
+                    'spellchecker_rpc_url' => $CFG->wwwroot."/lib/editor/tinymce/tiny_mce/$this->version/plugins/spellchecker/rpc.php"
                   );
         if (empty($CFG->xmlstrictheaders) and (!empty($options['legacy']) or !empty($options['noclean']) or !empty($options['trusted']))) {
             // now deal somehow with non-standard tags, people scream when we do not make moodle code xtml strict,