From 5172085ea4165d87f64b0f21414068e680a29e25 Mon Sep 17 00:00:00 2001 From: sugar1569 Date: Tue, 23 Aug 2022 15:16:52 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E7=A8=8B=E5=BA=8F=E7=9B=AE=E5=BD=95?= =?UTF-8?q?=E3=80=91=E4=BF=AE=E6=94=B9=E5=AE=89=E8=A3=85=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E6=9D=83=E9=99=90=E6=A3=80=E6=B5=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crmeb/public/install/index.php | 3 ++- crmeb/public/install/templates/step2.php | 14 ++++++-------- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/crmeb/public/install/index.php b/crmeb/public/install/index.php index aa9ccc9b6..5edab2203 100644 --- a/crmeb/public/install/index.php +++ b/crmeb/public/install/index.php @@ -145,7 +145,8 @@ switch ($step) { ); $file = array( '.env', - '.version' + '.version', + '.constant', ); //必须开启函数 $disabled = explode(',', ini_get('disable_functions')); diff --git a/crmeb/public/install/templates/step2.php b/crmeb/public/install/templates/step2.php index e0dc8fa7b..48f423991 100644 --- a/crmeb/public/install/templates/step2.php +++ b/crmeb/public/install/templates/step2.php @@ -144,18 +144,16 @@ } ?> √可写 '; } else { $w = '√不可写 '; $err++; } - if (is_readable($file_env)) { + if (is_readable($filedir)) { $r = '√可读'; } else { $r = '√不可读'; @@ -164,7 +162,7 @@ ?> - + 读写