Fixed a bug making logins fail on Firefox if $config["root"] is a URL
This commit is contained in:
@@ -39,6 +39,9 @@
|
||||
'\?\/.+' .
|
||||
')$/i';
|
||||
|
||||
if(!isset($config['cookies']['path']))
|
||||
$config['cookies']['path'] = $config['root'];
|
||||
|
||||
if(!isset($config['dir']['static']))
|
||||
$config['dir']['static'] = $config['root'] . 'static/';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user