summaryrefslogtreecommitdiff
path: root/mod.php
diff options
context:
space:
mode:
authorMichael Save <savetheinternet@tinyboard.org>2012-04-13 09:29:08 +1000
committerMichael Save <savetheinternet@tinyboard.org>2012-04-13 09:29:08 +1000
commit78f3ea783394dba14b51b27f7f2db3974ce8b8b3 (patch)
tree82e89fa261d1710e069c787db4944a928759fdcb /mod.php
parentf9ca74d763e570bd8004ec432c8d9c69d6c5d9e7 (diff)
View IP adress page, ban form.
Diffstat (limited to 'mod.php')
-rw-r--r--mod.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/mod.php b/mod.php
index 0ac83f46..5f2cad56 100644
--- a/mod.php
+++ b/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',
);