1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-02-20 20:51:50 +01:00

Better read.php +50 regex

This commit is contained in:
8chan 2014-11-22 01:46:21 -08:00
parent 6d54ae5262
commit a7d4614a3e

View File

@ -17,7 +17,7 @@ $pages = array(
'/(\%b)/' . preg_quote($config['file_index'], '!') => 'view_board',
'/(\%b)/' . str_replace('%d', '(\d+)', preg_quote($config['file_page'], '!')) => 'view_board',
'/(\%b)/' . preg_quote($config['dir']['res'], '!') .
str_replace('%d', '(\d+)', preg_quote($config['file_page50'], '!')) => 'view_thread50',
str_replace('%d', '(\d+)', '%d\+50(\.html)?') => 'view_thread50',
'/(\%b)/' . preg_quote($config['dir']['res'], '!') .
str_replace('%d', '(\d+)', '%d(\.html)?') => 'view_thread',
);