From 3b218c3bb785b85e4e71c819529673a51b107157 Mon Sep 17 00:00:00 2001 From: star7th Date: Fri, 22 Oct 2021 18:15:56 +0800 Subject: [PATCH] Update common.php --- install/common.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install/common.php b/install/common.php index aef66a632..dbbe0e0af 100644 --- a/install/common.php +++ b/install/common.php @@ -6,7 +6,7 @@ function lang(){ $lang = $_REQUEST['lang'] ? $_REQUEST['lang'] :"zh"; - if ($lang == 'zh-CN') { + if ($lang == 'zh') { return include("lang.".$lang.".php"); } if ($lang == 'en') { @@ -87,4 +87,4 @@ function replace_file_content($file , $from ,$to ){ if ($content2) { file_put_contents($file,$content2); } -} \ No newline at end of file +}