replaced "LC_ALL" with LC_ALL:
Warning: setlocale() [function.setlocale]: Passing locale category name as string is deprecated. Use the LC_* -constants instead. in /usr/local/apache2/htdocs/lam/templates/login.php on line 45
This commit is contained in:
parent
0a27b5f9d1
commit
7c91dae854
|
@ -56,7 +56,7 @@ if($action == "checklogin")
|
||||||
// setting language
|
// setting language
|
||||||
$language = explode(":", $language);
|
$language = explode(":", $language);
|
||||||
putenv("LANG=" . $language[1]);
|
putenv("LANG=" . $language[1]);
|
||||||
setlocale("LC_ALL", $language[0]);
|
setlocale(LC_ALL, $language[0]);
|
||||||
bindtextdomain("lam", "../locale");
|
bindtextdomain("lam", "../locale");
|
||||||
textdomain("lam");
|
textdomain("lam");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue