Correction of a bug in install.php

This commit is contained in:
Phyks 2013-08-23 00:22:30 +02:00
parent 49e79ae634
commit 25425649f7
2 changed files with 1 additions and 1 deletions

0
data/notice Executable file → Normal file
View File

View File

@ -61,7 +61,7 @@
date_default_timezone_set('".$_POST['timezone']."'); 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 { try {
require_once('inc/User.class.php'); require_once('inc/User.class.php');
$admin = new User(); $admin = new User();