Bug #6176 - locale setting on config variables page not functioning correctly; merged from MOODLE_16_STABLE

This commit is contained in:
skodak
2006-07-30 10:39:21 +00:00
parent 8ee8f34bff
commit be933850a7
8 changed files with 52 additions and 34 deletions
+1
View File
@@ -508,6 +508,7 @@ $CFG->os = PHP_OS;
$CFG->lang = !empty($CFG->unicodedb) ? 'en_utf8' : 'en';
}
// set default locale - might be changed again later in require_login()
moodle_setlocale();
if (!empty($CFG->opentogoogle)) {