Fixed a bug making logins fail on Firefox if $config["root"] is a URL
This commit is contained in:
1 parent
d919c49b2f
commit
f7313d4a0e
3 files changed
+8
-3
No files matched your search
@@ -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