Fixed bug affecting Safari. Safari seems to like to send the client-side part of URLs (#) in the referrer.

This commit is contained in:
Savetheinternet 2011-12-05 22:59:51 +11:00
parent 39acbf8834
commit 0d6997bd29

View File

@ -54,7 +54,7 @@
str_replace('%d', '\d+', preg_quote($config['file_page'], '/')) .
'|' .
preg_quote($config['file_mod'], '/') . '\?\/.+' .
')$/i';
')(#.+)?$/i';
if(!isset($config['cookies']['path']))
$config['cookies']['path'] = &$config['root'];