(http://moodle.org/bugs/bug.php?op=show&bugid=4924)
}
foreach ($stringfiles as $key => $file) {
- if (substr($file, -4) != ".php") {
+ if (substr($file, -4) != ".php") { //Avoid non php files to be showed
+ unset($stringfiles[$key]);
+ }
+ if ($file == "langconfig.php") { //Avoid langconfig.php to be showed
unset($stringfiles[$key]);
}
}
}
-?>
\ No newline at end of file
+?>