diff --git a/index.php b/index.php index 123c64e..00930ab 100644 --- a/index.php +++ b/index.php @@ -6,7 +6,7 @@ $json = file_get_contents('config.json'); $configs = json_decode($json, true); $isHome = false; -if(in_array($_SERVER["REMOTE_ADDR"],$configs['homeAddress'])){ +if (in_array($_SERVER["REMOTE_ADDR"], $configs['homeAddress'])) { $isHome = true; } if ($isHome) { @@ -44,7 +44,6 @@ if ($isHome) { -
diff --git a/log/此文件夹用于存放日志文件.txt b/log/此文件夹用于存放日志文件.txt old mode 100755 new mode 100644