forked from leftypol/leftypol
View IP adress page, ban form.
This commit is contained in:
parent
f9ca74d763
commit
78f3ea7833
7 changed files with 289 additions and 3 deletions
3
mod.php
3
mod.php
|
@ -25,10 +25,11 @@ $pages = array(
|
|||
'!^/$!' => 'dashboard', // dashboard
|
||||
|
||||
'!^/IP/(.+)$!' => 'ip', // view ip address
|
||||
'!^/ban$!' => 'ban', // new ban
|
||||
|
||||
// This should always be at the end:
|
||||
'!^/(\w+)/' . preg_quote($config['file_index'], '!') . '?$!' => 'view_board',
|
||||
'!^/(\w+)/' . str_replace('%d', '(\d+)', preg_quote($config['file_page'], '!')) . '$!/' => 'view_board',
|
||||
'!^/(\w+)/' . str_replace('%d', '(\d+)', preg_quote($config['file_page'], '!')) . '$!' => 'view_board',
|
||||
'!^/(\w+)/' . preg_quote($config['dir']['res'], '!') .
|
||||
str_replace('%d', '(\d+)', preg_quote($config['file_page'], '!')) . '$!' => 'view_thread',
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue