From: Evan Prodromou Date: Mon, 8 Dec 2008 07:15:21 +0000 (-0500) Subject: add fancy url for block action X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=49adb8b552b5dc0fc07298649466e1a71cebd661;p=quix0rs-gnu-social.git add fancy url for block action darcs-hash:20081208071521-5ed1f-1178a3c50f94c039d98112620e8bf78836e659bc.gz --- diff --git a/htaccess.sample b/htaccess.sample index b0e89b9f27..c06b5ed236 100644 --- a/htaccess.sample +++ b/htaccess.sample @@ -44,6 +44,8 @@ RewriteRule ^main/sup$ index.php?action=sup [L,QSA] RewriteRule ^main/tagother$ index.php?action=tagother [L,QSA] +RewriteRule ^main/block$ index.php?action=block [L,QSA] + RewriteRule ^settings/delete$ index.php?action=deleteprofile [L,QSA] RewriteRule ^settings/profile$ index.php?action=profilesettings [L,QSA] RewriteRule ^settings/openid$ index.php?action=openidsettings [L,QSA] diff --git a/lib/util.php b/lib/util.php index df736cf01c..84befa5371 100644 --- a/lib/util.php +++ b/lib/util.php @@ -1081,6 +1081,7 @@ function common_fancy_url($action, $args=NULL) { } case 'doc': return common_path('doc/'.$args['title']); + case 'block': case 'login': case 'logout': case 'subscribe':