diff --git a/INSTALL/INSTALL.ubuntu1804.md b/INSTALL/INSTALL.ubuntu1804.md index 81a61ac..5ddebc5 100644 --- a/INSTALL/INSTALL.ubuntu1804.md +++ b/INSTALL/INSTALL.ubuntu1804.md @@ -50,7 +50,7 @@ Especially by setting a strong root password. Header always set X-Frame-Options SAMEORIGIN - SetEnv APPLICATION_ENV "development" + SetEnv APPLICATION_ENV production diff --git a/config/application.config.php b/config/application.config.php index 853d69c..002d2f3 100644 --- a/config/application.config.php +++ b/config/application.config.php @@ -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']; diff --git a/vagrant/bootstrap.sh b/vagrant/bootstrap.sh index 2670759..2ca5528 100644 --- a/vagrant/bootstrap.sh +++ b/vagrant/bootstrap.sh @@ -3,7 +3,7 @@ TAG='' PATH_TO_MONARC='/home/ubuntu/monarc' -ENVIRONMENT='DEVELOPMENT' +ENVIRONMENT='development' DBHOST='localhost' DBNAME_COMMON='monarc_common'