Using APPLICATION_ENV instead of APP_ENV.

pull/202/head
Cédric Bonhomme 2019-10-28 13:23:06 +01:00
parent 040914e0ad
commit 6d7ffcee72
No known key found for this signature in database
GPG Key ID: A1CB94DE57B7A70D
3 changed files with 3 additions and 3 deletions

View File

@ -50,7 +50,7 @@ Especially by setting a strong root password.
Header always set X-Frame-Options SAMEORIGIN
</IfModule>
SetEnv APPLICATION_ENV "development"
SetEnv APPLICATION_ENV production
</VirtualHost>

View File

@ -5,7 +5,7 @@
*
* @see https://github.com/zendframework/ZFTool
*/
$env = getenv('APP_ENV') ?: 'production';
$env = getenv('APPLICATION_ENV') ?: 'production';
$appConfDir = getenv('APP_CONF_DIR') ?? '';
$confPaths = ['config/autoload/{,*.}{global,local}.php'];

View File

@ -3,7 +3,7 @@
TAG=''
PATH_TO_MONARC='/home/ubuntu/monarc'
ENVIRONMENT='DEVELOPMENT'
ENVIRONMENT='development'
DBHOST='localhost'
DBNAME_COMMON='monarc_common'