From 09b502e033e9bcf54c8fb5d251dc9bf9c88d2619 Mon Sep 17 00:00:00 2001 From: ruan Date: Tue, 27 Sep 2016 08:40:07 +0200 Subject: [PATCH] Clean up settings.php --- inc/settings.php | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/inc/settings.php b/inc/settings.php index 90898a2..2ae73d0 100644 --- a/inc/settings.php +++ b/inc/settings.php @@ -7,12 +7,6 @@ final class Settings { // Web interface language. Languages are stored in the "lang/" directory. $this->lang = 'en_US.utf8'; - // Server name, shown on the main page and on the header - $this->name = 'LiteBans'; - - // Clicking on the header name will send you to this address. - $this->name_link = '#'; - // Database information $host = 'localhost'; $port = 3306; @@ -28,6 +22,13 @@ final class Settings { // Supported drivers: mysql, pgsql $driver = 'mysql'; + // Server name, shown on the main page and on the header + $this->name = 'LiteBans'; + + // Clicking on the header name will send you to this address. + $this->name_link = '#'; + + // Show inactive bans? Removed bans will show (Unbanned), mutes will show (Unmuted), warnings will show (Expired). $this->show_inactive_bans = true; @@ -184,9 +185,7 @@ final class Settings { function redirect($url) { echo "Redirecting..."; - echo ""; - die; } }