mirror of
https://github.com/andres-montanez/Magallanes
synced 2024-05-23 16:12:11 +02:00
Merge pull request #323 from aglejberman/nostromo
Avoid showing warning message when configuration file incomplete
This commit is contained in:
commit
4bf8babf46
|
@ -71,7 +71,7 @@ class MageApplication extends Application
|
|||
}
|
||||
|
||||
if (array_key_exists('magephp', $config)) {
|
||||
$config = $config['magephp'];
|
||||
$config = is_null($config['magephp']) ? [] : $config['magephp'];
|
||||
|
||||
$logger = null;
|
||||
if (array_key_exists('log_dir', $config) && file_exists($config['log_dir']) && is_dir($config['log_dir'])) {
|
||||
|
|
Loading…
Reference in a new issue