Using LOCALE defines, not strings

This commit is contained in:
moodler
2002-11-08 01:33:04 +00:00
parent cdb56e3dc5
commit 8dfc9d0f19
+3 -3
View File
@@ -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