Fixed a bug making logins fail on Firefox if $config["root"] is a URL

This commit is contained in:
Savetheinternet 2011-03-28 02:22:48 +11:00
parent d919c49b2f
commit f7313d4a0e
3 changed files with 8 additions and 3 deletions

View file

@ -47,7 +47,9 @@
$config['cookies']['hash'] = 'hash';
// Used for moderation login
$config['cookies']['mod'] = 'mod';
// Where to set the 'path' parameter to $config['root'] when creating cookies. Recommended.
// Cookies "path". Defaults to $config['root']. If $config['root'] is a URL, you need to set this. Should be '/' or '/board/', depending on your installation.
// $config['cookies']['path'] = '/';
// Where to set the 'path' parameter to $config['cookies']['path'] when creating cookies. Recommended.
$config['cookies']['jail'] = true;
// How long should the cookies last (in seconds)
$config['cookies']['expire']= 15778463; //6 months