From 8dfc9d0f192bf08bd04dedc90e1f5303a91cc45f Mon Sep 17 00:00:00 2001 From: moodler Date: Fri, 8 Nov 2002 01:33:04 +0000 Subject: [PATCH] Using LOCALE defines, not strings --- lib/setup.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.39.5