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
|
@ -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/';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue