From 20fd2fc23224cf300086cba0f53e32e23a2e8421 Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Thu, 2 Dec 2010 18:02:04 +1100 Subject: [PATCH] Basic login and page handling. --- inc/config.php | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/inc/config.php b/inc/config.php index 2c1e9dc8..0ca457c4 100644 --- a/inc/config.php +++ b/inc/config.php @@ -28,9 +28,6 @@ // Where to set the 'path' parameter to ROOT when creating cookies. Recommended. define('JAIL_COOKIES', true, true); - // Whether or not to lock moderator sessions to the IP address that was logged in with. - define('MOD_LOCK_IP', true, true); - // How long should the cookies last (in seconds) define('COOKIE_EXPIRE', 15778463, true); //6 months @@ -122,6 +119,14 @@ // Multi-board (%s is board abbreviation) define('BOARD_PATH', '%s/', true); + /* + Mod stuff + */ + // Whether or not to lock moderator sessions to the IP address that was logged in with. + define('MOD_LOCK_IP', true, true); + // The page that is first shown when a moderator logs in. Defaults to the dashboard. + define('MOD_DEFAULT', '/', true); + // A small file in the main directory indicating that the script has been ran and the board(s) have been generated. // This keeps the script from querying the database and causing strain when not needed. define('HAS_INSTALLED', '.installed', true);