mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 06:53:15 +00:00
Check if 'servername' key exists
This commit is contained in:
@@ -195,8 +195,10 @@ class patch_390alpha9b extends patchAbstract
|
||||
unset($config['main']['languages']);
|
||||
}
|
||||
|
||||
$config = array_merge(['servername' => $config['main']['servername']], $config);
|
||||
unset($config['main']['servername']);
|
||||
if (isset($config['main']['servername'])) {
|
||||
$config = array_merge(['servername' => $config['main']['servername']], $config);
|
||||
unset($config['main']['servername']);
|
||||
}
|
||||
|
||||
if (isset($config['task-manager'])) {
|
||||
$config['main']['task-manager'] = $config['task-manager'];
|
||||
|
Reference in New Issue
Block a user