disabled friendly_urls by default

* as some users have reported problems with it
* fixes when $config['database_*'] is set
This commit is contained in:
slawkens1
2017-05-04 16:57:46 +02:00
parent f35a24b35b
commit ef9d5127a2
5 changed files with 58 additions and 55 deletions

View File

@@ -213,10 +213,10 @@ if(!$error) {
if(!$error && (!isset($_SESSION['saved']))) {
$content .= '$config[\'installed\'] = true;';
$content .= PHP_EOL;
if(strpos($_SERVER['SERVER_SOFTWARE'], 'Apache') !== false) {
$content .= '$config[\'friendly_urls\'] = true;';
$content .= PHP_EOL;
}
// if(strpos($_SERVER['SERVER_SOFTWARE'], 'Apache') !== false) {
// $content .= '$config[\'friendly_urls\'] = true;';
// $content .= PHP_EOL;
// }
$content .= '$config[\'mail_enabled\'] = true;';
$content .= PHP_EOL;