1
0
mirror of https://github.com/hauke68/Magallanes.git synced 2025-08-25 21:00:18 +02:00

Avoid showing warning message when configuration file incomplete

This commit is contained in:
Alejandro Glejberman 2017-01-29 11:28:27 -03:00
parent d89aaa8d56
commit c6f0f8d336

View File

@ -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'])) {