diff --git a/inc/functions.php b/inc/functions.php index f4acc0d0..68c513dd 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -58,7 +58,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'];