summaryrefslogtreecommitdiff
path: root/mod.php
diff options
context:
space:
mode:
authorMarcin Łabanowski <marcin@6irc.net>2013-01-26 15:08:48 +0100
committerMarcin Łabanowski <marcin@6irc.net>2013-01-26 15:08:48 +0100
commite6b9bad788a6d9ae5f203b999925b9368a77536c (patch)
tree5d63bffd2418701b8f703050c9f289da74c0be35 /mod.php
parent9b7b1c996f8800efc533dd11a82dffcefdeb726e (diff)
parentdb1b50cfc3a7f3b45891b0ff69db4892b0e6929e (diff)
Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts: mod.php
Diffstat (limited to 'mod.php')
-rw-r--r--mod.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/mod.php b/mod.php
index 4b0594ae..cb12b565 100644
--- a/mod.php
+++ b/mod.php
@@ -61,7 +61,7 @@ $pages = array(
'/ban' => 'secure_POST ban', // new ban
'/([\w+.]+)/ban(&delete)?/(\d+)' => 'secure_POST ban_post', // ban poster
'/([\w+.]+)/move/(\d+)' => 'secure_POST move', // move thread
- '/([\w+.]+)/edit/(\d+)' => 'secure_POST edit_post', // edit post
+ '/([\w+.])/edit(_raw)?/(\d+)' => 'secure_POST edit_post', // edit post
'/([\w+.]+)/delete/(\d+)' => 'secure delete', // delete post
'/([\w+.]+)/deletefile/(\d+)' => 'secure deletefile', // delete file from post
'/([\w+.]+)/deletebyip/(\d+)(/global)?' => 'secure deletebyip', // delete all posts by IP address
@@ -78,6 +78,8 @@ $pages = array(
// these pages aren't listed in the dashboard without $config['debug']
'/debug/antispam' => 'debug_antispam',
+ '/debug/recent' => 'debug_recent_posts',
+ '/debug/sql' => 'secure_POST debug_sql',
// This should always be at the end:
'/([\w+.]+)/' => 'view_board',