diff --git a/read.php b/read.php index f1589ee3..64fee794 100644 --- a/read.php +++ b/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', );