Explorar o código

修复安装检测权限的BUG

Karson %!s(int64=7) %!d(string=hai) anos
pai
achega
5cb04aab5e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;
     }