remove debug code
This commit is contained in:
parent
4c3f9b2820
commit
26c1d8f1c4
2
base.php
2
base.php
|
@ -129,7 +129,7 @@ function localize($phrase, $count=-1) {
|
|||
$lang = "en";
|
||||
if (isset($_SERVER['HTTP_ACCEPT_LANGUAGE']))
|
||||
{
|
||||
//$lang = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2);
|
||||
$lang = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2);
|
||||
}
|
||||
$lang_file_en = NULL;
|
||||
$lang_file = 'lang/Localization_' . $lang . '.json';
|
||||
|
|
Loading…
Reference in a new issue