From 25425649f700e8b8a1744b13c005188ee51304b3 Mon Sep 17 00:00:00 2001 From: Phyks Date: Fri, 23 Aug 2013 00:22:30 +0200 Subject: [PATCH] Correction of a bug in install.php --- data/notice | 0 install.php | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) mode change 100755 => 100644 data/notice diff --git a/data/notice b/data/notice old mode 100755 new mode 100644 diff --git a/install.php b/install.php index f9fcbf9..7f5c0a1 100644 --- a/install.php +++ b/install.php @@ -61,7 +61,7 @@ date_default_timezone_set('".$_POST['timezone']."'); "; - if(file_put_contents("data/config.php", $config) && file_put_contents("data/notice", '')) { + if(file_put_contents("data/config.php", $config) !== false && file_put_contents("data/notice", '') !== false) { try { require_once('inc/User.class.php'); $admin = new User();