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

@ -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/';