From 26c1d8f1c409552293b848f6a38c00956336ea3b Mon Sep 17 00:00:00 2001 From: wogong Date: Tue, 7 May 2013 16:30:53 +0800 Subject: [PATCH] remove debug code --- base.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base.php b/base.php index 992fa8b..0205513 100644 --- a/base.php +++ b/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';