Backport vichan 5.1.5 catalog implementation, enabling mod catalog.

This commit is contained in:
Zankaria 2024-01-24 12:59:56 +01:00
parent 264c10cf2a
commit 2efd67ef85
7 changed files with 106 additions and 291 deletions

View file

@ -112,6 +112,7 @@ $pages = array(
// This should always be at the end:
'/(\%b)/' => 'view_board',
'/(\%b)/' . preg_quote($config['file_index'], '!') => 'view_board',
'/(\%b)/' . preg_quote($config['file_catalog'], '!') => 'view_catalog',
'/(\%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',