diff options
| author | Michael Save <savetheinternet@tinyboard.org> | 2012-04-13 10:41:30 +1000 |
|---|---|---|
| committer | Michael Save <savetheinternet@tinyboard.org> | 2012-04-13 10:41:30 +1000 |
| commit | 7f6f836bf85350fe92d3975d2fb3973343923aeb (patch) | |
| tree | 0f4923aef20ca4aa73eb86d460ec03126135cfac /mod.php | |
| parent | 2843ddc4826f250a8af6203cff437929ab807a41 (diff) | |
IP notes
Diffstat (limited to 'mod.php')
| -rw-r--r-- | mod.php | 15 |
1 files changed, 11 insertions, 4 deletions
@@ -21,11 +21,18 @@ if (get_magic_quotes_gpc()) { $query = isset($_SERVER['QUERY_STRING']) ? $_SERVER['QUERY_STRING'] : ''; $pages = array( - '!^$!' => ':?/', // redirect to dashboard - '!^/$!' => 'dashboard', // dashboard + '!^$!' => ':?/', // redirect to dashboard + '!^/$!' => 'dashboard', // dashboard + '!^/log$!' => 'log', // modlog + '!^/log/(\d+)/$!' => 'log', // modlog - '!^/IP/(.+)$!' => 'ip', // view ip address - '!^/ban$!' => 'ban', // new ban + '!^/confirm/(.+)$!' => 'confirm', // confirm action (if javascript didn't work) + + '!^/ban$!' => 'ban', // new ban + '!^/IP/([\w.:]+)$!' => 'ip', // view ip address + '!^/IP/([\w.:]+)/remove_note/(\d+)$!' => 'ip_remove_note', // remove note from ip address + + '!^/(\w+)/delete/(\d+)$!' => 'delete', // delete post // This should always be at the end: '!^/(\w+)/' . preg_quote($config['file_index'], '!') . '?$!' => 'view_board', |
