mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-24 07:30:10 +01:00
restore php5.3 compatibility. thx for Kihokki for reporting that
This commit is contained in:
parent
3545ba1b47
commit
8d4104feb0
@ -204,7 +204,7 @@ function loadConfig() {
|
|||||||
if (!isset($config['user_flag']))
|
if (!isset($config['user_flag']))
|
||||||
$config['user_flag'] = false;
|
$config['user_flag'] = false;
|
||||||
if (!isset($config['user_flags']))
|
if (!isset($config['user_flags']))
|
||||||
$config['user_flags'] = [];
|
$config['user_flags'] = array();
|
||||||
|
|
||||||
if ($config['root_file']) {
|
if ($config['root_file']) {
|
||||||
chdir($config['root_file']);
|
chdir($config['root_file']);
|
||||||
|
Loading…
Reference in New Issue
Block a user