]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-19184 moodle specific tinymce localization - fixed sloppy includes
authorskodak <skodak>
Sun, 17 May 2009 16:58:16 +0000 (16:58 +0000)
committerskodak <skodak>
Sun, 17 May 2009 16:58:16 +0000 (16:58 +0000)
lib/editor/tinymce/extra/strings.php

index 93b250e15913b00ff2aa105e1bcabb3fcf807bd7..77504304677377211ec44fc39cc231ddda9c08ce 100644 (file)
@@ -46,7 +46,7 @@ foreach (get_langpack_locations('en_utf8') as $location) {
     if (!file_exists($location)) {
         continue;
     }
-    include_once($location);
+    include($location);
 }
 
 // find parent language
@@ -55,7 +55,7 @@ if ($parent = get_parent_language($lang)) {
         if (!file_exists($location)) {
             continue;
         }
-        include_once($location);
+        include($location);
     }
 }
 
@@ -65,7 +65,7 @@ if ($lang !== 'en_utf8') {
         if (!file_exists($location)) {
             continue;
         }
-        include_once($location);
+        include($location);
     }
 }