Fixed the composer requirements and added the log module.
parent
73357c3551
commit
b706b2a1dc
|
@ -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",
|
||||||
|
|
|
@ -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',
|
||||||
|
|
|
@ -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) ){
|
||||||
|
|
Loading…
Reference in New Issue