forked from GithubBackups/vichan
Allow mod.php?/board without final /
This commit is contained in:
parent
3d30401ff8
commit
de42331ce9
2
mod.php
2
mod.php
@ -99,7 +99,7 @@ $pages = array(
|
||||
'/debug/sql' => 'secure_POST debug_sql',
|
||||
|
||||
// This should always be at the end:
|
||||
'/(\%b)/' => 'view_board',
|
||||
'/(\%b)/?' => 'view_board',
|
||||
'/(\%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'], '!') .
|
||||
|
Loading…
x
Reference in New Issue
Block a user