Skip to content

Commit

Permalink
Update common.php
Browse files Browse the repository at this point in the history
  • Loading branch information
star7th committed Oct 22, 2021
1 parent d99e526 commit 3b218c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install/common.php
Expand Up @@ -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') {
Expand Down Expand Up @@ -87,4 +87,4 @@ function replace_file_content($file , $from ,$to ){
if ($content2) {
file_put_contents($file,$content2);
}
}
}

0 comments on commit 3b218c3

Please sign in to comment.