From: moodler Date: Fri, 8 Nov 2002 01:33:04 +0000 (+0000) Subject: Using LOCALE defines, not strings X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=8dfc9d0f192bf08bd04dedc90e1f5303a91cc45f;p=moodle.git Using LOCALE defines, not strings --- diff --git a/lib/setup.php b/lib/setup.php index 033c888dea..dfa2af0ef1 100644 --- a/lib/setup.php +++ b/lib/setup.php @@ -66,9 +66,9 @@ if (!$CFG->locale) { $CFG->locale = $CFG->lang; // Might work } - setlocale ("LC_TIME", $CFG->locale); - setlocale ("LC_CTYPE", $CFG->locale); - setlocale ("LC_COLLATE", $CFG->locale); + setlocale (LC_TIME, $CFG->locale); + setlocale (LC_CTYPE, $CFG->locale); + setlocale (LC_COLLATE, $CFG->locale); /// Reference code to remove magic quotes from everything ... just in case. /// If you have problems with slashes everywhere then you might want to