From: skodak Date: Sun, 17 May 2009 16:58:16 +0000 (+0000) Subject: MDL-19184 moodle specific tinymce localization - fixed sloppy includes X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=43d91e34c92fa806df907708dfe637652f854e4a;p=moodle.git MDL-19184 moodle specific tinymce localization - fixed sloppy includes --- diff --git a/lib/editor/tinymce/extra/strings.php b/lib/editor/tinymce/extra/strings.php index 93b250e159..7750430467 100644 --- a/lib/editor/tinymce/extra/strings.php +++ b/lib/editor/tinymce/extra/strings.php @@ -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); } }