remove debug code

This commit is contained in:
wogong 2013-05-07 16:30:53 +08:00
parent 4c3f9b2820
commit 26c1d8f1c4

View file

@ -129,7 +129,7 @@ function localize($phrase, $count=-1) {
$lang = "en"; $lang = "en";
if (isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])) 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_en = NULL;
$lang_file = 'lang/Localization_' . $lang . '.json'; $lang_file = 'lang/Localization_' . $lang . '.json';