Forráskód Böngészése

优化:安装脚本检测chmod函数

Yahoo 4 éve
szülő
commit
ba843a9564
1 módosított fájl, 3 hozzáadás és 1 törlés
  1. 3 1
      public/install/index.php

+ 3 - 1
public/install/index.php

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