diff options
author | Mike Cochrane <mikec@mikenz.geek.nz> | 2008-07-20 08:45:52 -0400 |
---|---|---|
committer | Mike Cochrane <mikec@mikenz.geek.nz> | 2008-07-20 08:45:52 -0400 |
commit | 060fecf5ec59202c5eaf3448f9723a81820d5735 (patch) | |
tree | 681838571c5db1aeb3a0dc1f5551be057f764aa0 /htaccess.sample | |
parent | de81e92f0b9b45c161912c920dd395c9cb1f1177 (diff) |
Clean up delete code. Add missing htaccess rule. Exit after errors so the code doesn't continue running.
darcs-hash:20080720124552-533db-81be2c04445f146e477b1bb7e6e8e7d0eb27431d.gz
Diffstat (limited to 'htaccess.sample')
-rw-r--r-- | htaccess.sample | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/htaccess.sample b/htaccess.sample index 7ec889bc1..21c12f2eb 100644 --- a/htaccess.sample +++ b/htaccess.sample @@ -41,6 +41,7 @@ RewriteRule ^search/notice/rss$ index.php?action=noticesearchrss [L,QSA] RewriteRule ^notice/new$ index.php?action=newnotice [L,QSA] RewriteRule ^notice/(\d+)$ index.php?action=shownotice¬ice=$1 [L,QSA] +RewriteRule ^deletenotice/((\d+))?$ index.php?action=deletenotice¬ice=$2 [L,QSA] RewriteRule ^user/(\d+)$ index.php?action=userbyid&id=$1 [L,QSA] |