Basic login and page handling.

This commit is contained in:
Savetheinternet 2010-12-02 18:02:04 +11:00
parent 162fcff691
commit 20fd2fc232

View File

@ -28,9 +28,6 @@
// Where to set the 'path' parameter to ROOT when creating cookies. Recommended. // Where to set the 'path' parameter to ROOT when creating cookies. Recommended.
define('JAIL_COOKIES', true, true); 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) // How long should the cookies last (in seconds)
define('COOKIE_EXPIRE', 15778463, true); //6 months define('COOKIE_EXPIRE', 15778463, true); //6 months
@ -122,6 +119,14 @@
// Multi-board (%s is board abbreviation) // Multi-board (%s is board abbreviation)
define('BOARD_PATH', '%s/', true); 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. // 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. // This keeps the script from querying the database and causing strain when not needed.
define('HAS_INSTALLED', '.installed', true); define('HAS_INSTALLED', '.installed', true);