forked from leftypol/leftypol
Fixed a bug making logins fail on Firefox if $config["root"] is a URL
This commit is contained in:
parent
d919c49b2f
commit
f7313d4a0e
3 changed files with 8 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue