diff --git a/.htaccess b/.htacces.dist similarity index 100% rename from .htaccess rename to .htacces.dist diff --git a/config.php b/config.php index f8eb55d5..12403142 100644 --- a/config.php +++ b/config.php @@ -28,7 +28,7 @@ $config = array( // used for the Downloads page and some templates aswell 'client' => 1098, // 954 = client 9.54 - 'friendly_urls' => false, // mod_rewrite is required for this, it makes links looks more elegant to eye, and also are SEO friendly (example: http://my-aac.org/guilds/Testing instead of http://my-aac.org/?subtopic=guilds&name=Testing) + 'friendly_urls' => false, // mod_rewrite is required for this, it makes links looks more elegant to eye, and also are SEO friendly (example: http://my-aac.org/guilds/Testing instead of http://my-aac.org/?subtopic=guilds&name=Testing). Remember to rename .htaccess.dist to .htaccess 'gzip_output' => false, // gzip page content before sending it to the browser, uses less bandwidth but more cpu cycles // gesior backward support (templates & pages) @@ -59,7 +59,7 @@ $config = array( // cache system. by default file cache is used 'cache_engine' => 'auto', // apc, eaccelerator, xcache, file, auto, or blank to disable. - 'cache_prefix' => 'myaac_', // have to be unique if running more MyAAC instances on the same server, ignored when using file cache. + 'cache_prefix' => 'myaac_', // have to be unique if running more MyAAC instances on the same server // database details (leave blank for auto detect from config.lua) 'database_host' => '', @@ -90,8 +90,8 @@ $config = array( 'mail_address' => 'no-reply@your-server.org', // server e-mail address (from:) 'mail_admin' => 'your-address@your-server.org', // admin email address, where mails from contact form will be sent 'mail_signature' => array( // signature that will be included at the end of every message sent using _mail function - 'plain' => "--\nMy Server,\nhttp://www.myserver.com", - 'html' => '
My Server,\nmyserver.com' + 'plain' => ''/*'--\nMy Server,\nhttp://www.myserver.com'*/, + 'html' => ''/*'
My Server,\nmyserver.com'*/ ), 'smtp_enabled' => false, // send by smtp or mail function (set false if use mail function) 'smtp_host' => '', // mail host diff --git a/install/includes/locale.php b/install/includes/locale.php index 152919e4..19dad6ca 100644 --- a/install/includes/locale.php +++ b/install/includes/locale.php @@ -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) diff --git a/install/steps/database.php b/install/steps/database.php index 87dc7f55..79f28746 100644 --- a/install/steps/database.php +++ b/install/steps/database.php @@ -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; diff --git a/system/database.php b/system/database.php index 24408392..03e6ecdc 100644 --- a/system/database.php +++ b/system/database.php @@ -1,54 +1,57 @@