Browse Source

bugfix: posting from another page would return "invalid referrer" errors

pull/40/head
Savetheinternet 11 years ago
parent
commit
1a4eb1dea6
  1. 5
      inc/functions.php

5
inc/functions.php

@ -47,7 +47,10 @@
preg_quote($config['root'], '/') .
'(' .
str_replace('%s', '\w+', preg_quote($config['board_path'], '/')) .
'(' . preg_quote($config['file_index'], '/') . ')?' .
'(' .
preg_quote($config['file_index'], '/') . '|' .
str_replace('%d', '\d+', preg_quote($config['file_page'])) .
')?' .
'|' .
str_replace('%s', '\w+', preg_quote($config['board_path'], '/')) .
preg_quote($config['dir']['res'], '/') .

Loading…
Cancel
Save