From 929c1e3b60d2c2058746b86dc1e01cf6ae9a05a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B2=88=E7=A7=8B=E5=AE=9E?= <974568302@qq.com> Date: Thu, 11 May 2023 17:38:36 +0800 Subject: [PATCH] test --- index.php | 3 +-- log/此文件夹用于存放日志文件.txt | 0 2 files changed, 1 insertion(+), 2 deletions(-) mode change 100755 => 100644 log/此文件夹用于存放日志文件.txt 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) {
-= $isHome ?>