1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-09-25 12:08:23 +02:00

restore php5.3 compatibility. thx for Kihokki for reporting that

This commit is contained in:
czaks 2014-05-03 23:58:24 +02:00
parent 3545ba1b47
commit 8d4104feb0

View File

@ -204,7 +204,7 @@ function loadConfig() {
if (!isset($config['user_flag']))
$config['user_flag'] = false;
if (!isset($config['user_flags']))
$config['user_flags'] = [];
$config['user_flags'] = array();
if ($config['root_file']) {
chdir($config['root_file']);