Using APPLICATION_ENV instead of APP_ENV.
parent
040914e0ad
commit
6d7ffcee72
|
@ -50,7 +50,7 @@ Especially by setting a strong root password.
|
||||||
Header always set X-Frame-Options SAMEORIGIN
|
Header always set X-Frame-Options SAMEORIGIN
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
||||||
SetEnv APPLICATION_ENV "development"
|
SetEnv APPLICATION_ENV production
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
*
|
*
|
||||||
* @see https://github.com/zendframework/ZFTool
|
* @see https://github.com/zendframework/ZFTool
|
||||||
*/
|
*/
|
||||||
$env = getenv('APP_ENV') ?: 'production';
|
$env = getenv('APPLICATION_ENV') ?: 'production';
|
||||||
$appConfDir = getenv('APP_CONF_DIR') ?? '';
|
$appConfDir = getenv('APP_CONF_DIR') ?? '';
|
||||||
|
|
||||||
$confPaths = ['config/autoload/{,*.}{global,local}.php'];
|
$confPaths = ['config/autoload/{,*.}{global,local}.php'];
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
TAG=''
|
TAG=''
|
||||||
|
|
||||||
PATH_TO_MONARC='/home/ubuntu/monarc'
|
PATH_TO_MONARC='/home/ubuntu/monarc'
|
||||||
ENVIRONMENT='DEVELOPMENT'
|
ENVIRONMENT='development'
|
||||||
|
|
||||||
DBHOST='localhost'
|
DBHOST='localhost'
|
||||||
DBNAME_COMMON='monarc_common'
|
DBNAME_COMMON='monarc_common'
|
||||||
|
|
Loading…
Reference in New Issue