[pmwiki-users] setlocale() warning
Patrick R. Michaud
pmichaud at pobox.com
Wed Jun 1 12:13:11 CDT 2005
On Wed, Jun 01, 2005 at 06:55:33PM +0200, Masschelein Bart wrote:
> Warning: setlocale() [function.setlocale]: Passing locale category name
> as string is deprecated. Use the LC_* -constants instead. in
> /imec/other/d6mm/public_html/pmwiki/pmwiki.php on line 118
What version of PHP are you running?
> When I look at the corresponding line 118, I see
>
> if (preg_match('/^C$|\.UTF-?8/i',setlocale(LC_ALL,0)))
> setlocale(LC_ALL,'en_US');
>
> so this seems ok.
Indeed, it does seem okay to me -- I'm guessing there must be
something else at play here.
Is there a url we could look at? If so, can you set $EnableDiag=1;
in the config.php ?
Pm
More information about the pmwiki-users
mailing list