瀏覽代碼

修复安装检测权限的BUG

Karson 7 年之前
父節點
當前提交
5cb04aab5e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      public/install.php

+ 1 - 1
public/install.php

@@ -25,7 +25,7 @@ function is_really_writable($file)
     {
         return is_writable($file);
     }
-    if (!is_file($file) OR ( $fp = @fopen($file, "w+")) === FALSE)
+    if (!is_file($file) OR ( $fp = @fopen($file, "r+")) === FALSE)
     {
         return FALSE;
     }