* Environment is now configurable ('prod' for production, 'dev' for development)

Significantly better load times with 'prod' !!!
This commit is contained in:
slawkens
2018-06-01 19:12:48 +02:00
parent 510459b046
commit 550b664a61
5 changed files with 32 additions and 6 deletions

View File

@@ -17,6 +17,10 @@ if(!$error) {
$content .= PHP_EOL;
$content .= '$config[\'installed\'] = true;';
$content .= PHP_EOL;
// by default, set env to prod
// user can disable when he wants
$content .= '$config[\'env\'] = \'prod\'; // dev or prod';
$content .= PHP_EOL;
$content .= '$config[\'mail_enabled\'] = true;';
$content .= PHP_EOL;
foreach($_SESSION as $key => $value)