Correction of a bug in install.php
This commit is contained in:
parent
49e79ae634
commit
25425649f7
0
data/notice
Executable file → Normal file
0
data/notice
Executable file → Normal file
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user