summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@n0v4.com>2010-12-02 18:02:04 +1100
committerSavetheinternet <savetheinternet@n0v4.com>2010-12-02 18:02:04 +1100
commit20fd2fc23224cf300086cba0f53e32e23a2e8421 (patch)
treec55bea5f913d8e1e13eb09ffae8fad1adb17c7d4 /inc
parent162fcff691f8bd4a14e1985131af3a1fd52a7ff9 (diff)
Basic login and page handling.
Diffstat (limited to 'inc')
-rw-r--r--inc/config.php11
1 files 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);