Fixed the composer requirements and added the log module.

pull/202/head
Ruslan Baidan 2019-09-05 08:13:09 +02:00
parent 73357c3551
commit b706b2a1dc
No known key found for this signature in database
GPG Key ID: 4B7724C136BF1D89
3 changed files with 3 additions and 2 deletions

View File

@ -12,7 +12,7 @@
{"name": "Cédric Bonhomme", "email": "cedric.bonhomme@cases.lu"} {"name": "Cédric Bonhomme", "email": "cedric.bonhomme@cases.lu"}
], ],
"require": { "require": {
"php": "^7.1", "php": "^7.2",
"ext-json": "*", "ext-json": "*",
"ext-pdo": "*", "ext-pdo": "*",
"monarc/core": "dev-feature/upgrade-to-zf3", "monarc/core": "dev-feature/upgrade-to-zf3",

View File

@ -22,6 +22,7 @@ if (!empty($appConfDir)) {
return [ return [
'modules' => [ 'modules' => [
'Zend\Log',
'Monarc\Core', 'Monarc\Core',
'Monarc\FrontOffice', 'Monarc\FrontOffice',
'Zend\Cache', 'Zend\Cache',

View File

@ -14,7 +14,7 @@
use Monarc\Core\Service\DoctrineCacheServiceFactory; use Monarc\Core\Service\DoctrineCacheServiceFactory;
use Monarc\Core\Service\DoctrineLoggerFactory; use Monarc\Core\Service\DoctrineLoggerFactory;
$appconfdir = getenv('APP_CONF_DIR') ? getenv('APP_CONF_DIR') : ''; $appconfdir = getenv('APP_CONF_DIR') ?? '';
$datapath = "data"; $datapath = "data";
if( ! empty($appconfdir) ){ if( ! empty($appconfdir) ){