setlocale() error in script.. old module in new phpnuke..
Posted: Wed Oct 08, 2003 11:21 am
I was wondering if anybody could help me with this.. I am trying to install an old module into a new version of phpnuke..
This is the line the error points to:
Now, has phpnuke changed that $locale does not exist anymore or something? I can't find anything wrong with the actual script, just that the variable seems not to exist..
Could anybody explain to me what exactly this is supposed to do??
Code: Select all
setlocale(): Passing locale category name as string is deprecated. Use the LC_* -constants instead.Code: Select all
setlocale ("LC_TIME", "$locale");Could anybody explain to me what exactly this is supposed to do??