summaryrefslogtreecommitdiff
path: root/mod.php
diff options
context:
space:
mode:
authorMichael Foster <savetheinternet@tinyboard.org>2013-07-20 07:50:33 -0400
committerMichael Foster <savetheinternet@tinyboard.org>2013-07-20 07:50:33 -0400
commite62b83e79c8ed3b9ddf6e7e4b8bdeedc0d319ff4 (patch)
tree2cefd703a26f7de18782f3b0f7ba90230ff4cc30 /mod.php
parent158a7c0e79a7d0e8000e8797a277c3fdbf463e0d (diff)
Bring back search (searching posts not implemented yet)
Diffstat (limited to 'mod.php')
-rw-r--r--mod.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/mod.php b/mod.php
index 42196ef2..2523658c 100644
--- a/mod.php
+++ b/mod.php
@@ -56,6 +56,9 @@ $pages = array(
'/IP/([\w.:]+)/remove_note/(\d+)' => 'ip_remove_note', // remove note from ip address
'/bans' => 'bans', // ban list
'/bans/(\d+)' => 'bans', // ban list
+
+ '/search' => 'search_redirect', // search
+ '/search/(posts|IP_notes|bans)/(.+)' => 'search', // search
// CSRF-protected moderator actions
'/ban' => 'secure_POST ban', // new ban