forked from leftypol/leftypol
Backport vichan 5.1.5 catalog implementation, enabling mod catalog.
This commit is contained in:
parent
264c10cf2a
commit
2efd67ef85
7 changed files with 106 additions and 291 deletions
1
mod.php
1
mod.php
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue