Просмотр исходного кода

修复:环境检测不通过

Yahoo 4 лет назад
Родитель
Сommit
1e4556517a
2 измененных файлов с 4 добавлено и 2 удалено
  1. 2 0
      data/.gitignore
  2. 2 2
      public/install/index.php

+ 2 - 0
data/.gitignore

@@ -0,0 +1,2 @@
+*
+!.gitignore

+ 2 - 2
public/install/index.php

@@ -249,7 +249,7 @@ function getIsWriteArray()
 {
     return [
         '/.env',
-        '/data/',
+        // '/data/',
         '/public/install/',
         '/public/uploads/',
         '/public/temp/',
@@ -260,7 +260,7 @@ function getIsWriteArray()
 // 获取检测的函数数据
 function getExistsFuncArray()
 {
-    return ['curl_init', 'chmod ', 'bcadd', 'mb_substr', 'simplexml_load_string'];
+    return ['curl_init', 'chmod', 'bcadd', 'mb_substr', 'simplexml_load_string'];
 }
 
 // 测试可写性