summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--htaccess.sample2
-rw-r--r--lib/util.php1
2 files changed, 3 insertions, 0 deletions
diff --git a/htaccess.sample b/htaccess.sample
index b0e89b9f2..c06b5ed23 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 df736cf01..84befa537 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':