note 31358 added to function.setlocale
| From: | cpteos at rack1 dot php dot net | Date: | Fri, 18 Apr 2003 10:08:45 +0000 |
| Subject: | note 31358 added to function.setlocale | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-46779@lists.php.net to get a copy of this message | ||
I've got "setlocale()"-error-messages with PHP-Nuke 6 maybe caused by updating PHP to
4.3.1. by my provider.
A quick&dirty solution is set the command-line:
setlocale(LC_TIME, "$locale");
to
setlocale(LC_TIME, $locale);
This has been the Code-Solution from new PHP-Nuke 6.5, that don't report that error-message.
-eof-
--
http://www.php.net/manual/en/function.setlocale.php
http://master.php.net/manage/user-notes.php?action=edit+31358
http://master.php.net/manage/user-notes.php?action=delete+31358
http://master.php.net/manage/user-notes.php?action=reject+31358