summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--htaccess.sample1
-rw-r--r--lib/util.php2
2 files changed, 3 insertions, 0 deletions
diff --git a/htaccess.sample b/htaccess.sample
index a5d2cd4e0..9e621d9d6 100644
--- a/htaccess.sample
+++ b/htaccess.sample
@@ -25,6 +25,7 @@ RewriteRule ^settings/avatar$ index.php?action=avatar [L,QSA]
RewriteRule ^settings/password$ index.php?action=password [L,QSA]
RewriteRule ^settings/profile$ index.php?action=profilesettings [L,QSA]
RewriteRule ^settings/openid$ index.php?action=openidsettings [L,QSA]
+RewriteRule ^settings/im$ index.php?action=imsettings [L,QSA]
RewriteRule ^notice/new$ index.php?action=newnotice [L,QSA]
RewriteRule ^notice/(\d+)$ index.php?action=shownotice&notice=$1 [L,QSA]
diff --git a/lib/util.php b/lib/util.php
index e3c00b31d..e50582d1a 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -695,6 +695,8 @@ function common_fancy_url($action, $args=NULL) {
$path .= '/' . $args['code'];
}
return common_path($path);
+ case 'imsettings':
+ return common_path('settings/im');
default:
return common_simple_url($action, $args);
}