remove debug codes

This commit is contained in:
wogong 2013-05-07 09:18:07 +08:00
parent e2dd39dfdd
commit 0e6320e5a3

View file

@ -140,12 +140,8 @@ function localize($phrase, $count=-1) {
$lang_file_en = 'lang/' . 'Localization_en.json';
}
$lang_file_content = file_get_contents($lang_file);
//var_dump($lang_file);
//var_dump($lang_file_content);
/* Load the language file as a JSON object and transform it into an associative array */
$translations = json_decode($lang_file_content, true);
//var_dump($translations['boolean.no']);
//var_dump($translations['authors.title']);
if ($lang_file_en)
{
$lang_file_content = file_get_contents($lang_file_en);