[Typo3-dev] setlocale-Problem in class.tslib_fe.php
Jan Peuker
jan.peuker at lst-deutschland.de
Tue Jul 29 17:52:07 CEST 2003
hi Typo3-Team,
I got these warnings in PHP 4.3.2
Warning: setlocale(): Passing locale category name as string is deprecated.
Use the LC_* -constants instead. in
/usr/local/httpd/typo3_src-3.5.0/tslib/class.tslib_fe.php on line 1346
Warning: setlocale(): Passing locale category name as string is deprecated.
Use the LC_* -constants instead. in
/usr/local/httpd/typo3_src-3.5.0/tslib/class.tslib_fe.php on line 1347
Warning: setlocale(): Passing locale category name as string is deprecated.
Use the LC_* -constants instead. in
/usr/local/httpd/typo3_src-3.5.0/tslib/class.tslib_fe.php on line 1348
Warning: setlocale(): Passing locale category name as string is deprecated.
Use the LC_* -constants instead. in
/usr/local/httpd/typo3_src-3.5.0/tslib/class.tslib_fe.php on line 1349
and changed the setlocales according to the php-doc to:
# so we set all except LC_NUMERIC
setlocale(LC_COLLATE,$this->config["config"]["locale_all"]);
setlocale(LC_CTYPE,$this->config["config"]["locale_all"]);
setlocale(LC_MONETARY,$this->config["config"]["locale_all"]);
setlocale(LC_TIME,$this->config["config"]["locale_all"]);
(the same is appearing in the de_phpot extension)
I hope this was ok,
best regards,
jan
More information about the TYPO3-dev
mailing list