mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-14 01:34:55 +02:00
disabled friendly_urls by default
* as some users have reported problems with it * fixes when $config['database_*'] is set
This commit is contained in:
@@ -18,7 +18,7 @@ else
|
||||
// detect locale
|
||||
$locale_s = get_browser_languages();
|
||||
if(!sizeof($locale_s))
|
||||
$locale__ = 'en';
|
||||
$locale_ = 'en';
|
||||
else
|
||||
{
|
||||
foreach($locale_s as $id => $tmp)
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user