From 5cb04aab5e98d949a3823563845afad098b7da11 Mon Sep 17 00:00:00 2001 From: Karson Date: Fri, 14 Jul 2017 18:23:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=AE=89=E8=A3=85=E6=A3=80?= =?UTF-8?q?=E6=B5=8B=E6=9D=83=E9=99=90=E7=9A=84BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/install.php b/public/install.php index 4b7aae7d..95e92eaf 100644 --- a/public/install.php +++ b/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; }