Commit 5802d5f5 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Correction du test pour l'activation ou non des modules ZendDeveloperTools et...

Correction du test pour l'activation ou non des modules ZendDeveloperTools et UnicaenCode qui était erroné.
parent 5501fc3e
......@@ -7,7 +7,8 @@ $modules = [
'UnicaenApp', 'UnicaenAuth',
];
if ( 'development' == getenv('APPLICATION_ENV') ?: 'production' ) {
$applicationEnv = getenv('APPLICATION_ENV') ?: 'production';
if ('development' === $applicationEnv) {
$modules[] = 'ZendDeveloperTools';
$modules[] = 'UnicaenCode';
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment