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 @@ ?> - + 读写