diff --git a/composer.json b/composer.json index 6980103..3abe0d3 100644 --- a/composer.json +++ b/composer.json @@ -12,7 +12,7 @@ {"name": "Cédric Bonhomme", "email": "cedric.bonhomme@cases.lu"} ], "require": { - "php": "^7.1", + "php": "^7.2", "ext-json": "*", "ext-pdo": "*", "monarc/core": "dev-feature/upgrade-to-zf3", diff --git a/config/application.config.php b/config/application.config.php index 8ec38ac..6ba26f6 100644 --- a/config/application.config.php +++ b/config/application.config.php @@ -22,6 +22,7 @@ if (!empty($appConfDir)) { return [ 'modules' => [ + 'Zend\Log', 'Monarc\Core', 'Monarc\FrontOffice', 'Zend\Cache', diff --git a/config/autoload/global.php b/config/autoload/global.php index b253801..d9384be 100644 --- a/config/autoload/global.php +++ b/config/autoload/global.php @@ -14,7 +14,7 @@ use Monarc\Core\Service\DoctrineCacheServiceFactory; use Monarc\Core\Service\DoctrineLoggerFactory; -$appconfdir = getenv('APP_CONF_DIR') ? getenv('APP_CONF_DIR') : ''; +$appconfdir = getenv('APP_CONF_DIR') ?? ''; $datapath = "data"; if( ! empty($appconfdir) ){