Permalink
Browse files

Using LOCALE defines, not strings

  • Loading branch information...
1 parent cdb56e3 commit 8dfc9d0f192bf08bd04dedc90e1f5303a91cc45f moodler committed Nov 8, 2002
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/setup.php
View
@@ -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

0 comments on commit 8dfc9d0

Please sign in to comment.