simple catalog support for moderators

This commit is contained in:
sshscp15
2022-06-20 15:09:55 -03:00
committed by Fredrick Brennan
parent c170bc7ef2
commit 4db4ab9cf0
7 changed files with 37 additions and 8 deletions

View File

@@ -102,6 +102,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',