modify application config

pull/8/head
Jerome De Almeida 2016-12-27 15:49:25 +01:00
parent 7bf4675222
commit b7b17f4a17
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ $env = getenv('APP_ENV') ?: 'production';
if(file_exists('data/cache/upgrade')){ if(file_exists('data/cache/upgrade')){
$env = 'upgrade'; $env = 'upgrade';
putenv('APP_ENV',$env); putenv("APP_ENV=$env");
unlink('data/cache/upgrade'); unlink('data/cache/upgrade');
} }

View File

@ -9,7 +9,7 @@ $env = getenv('APP_ENV') ?: 'production';
if(file_exists('data/cache/upgrade')){ if(file_exists('data/cache/upgrade')){
$env = 'upgrade'; $env = 'upgrade';
putenv('APP_ENV',$env); putenv("APP_ENV=$env");
unlink('data/cache/upgrade'); unlink('data/cache/upgrade');
} }