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:
parent
6d54ae5262
commit
a7d4614a3e
2
read.php
2
read.php
@ -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',
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user