summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormillette <millette@controlyourself.ca>2008-11-06 17:40:06 -0500
committermillette <millette@controlyourself.ca>2008-11-06 17:40:06 -0500
commit0bc9d9d0320357f8ae4f2d85c2a62d20f34abbd6 (patch)
tree664c8b598ee04a6605520470bb4930bdd5a83b64
parente5d47b0eee8f5873fc6a75e60f78c3617d0593c7 (diff)
trac31 added othersettings fancy url
darcs-hash:20081106224006-099f7-b1dee734b54c8426f386fd1eb0bf2f45bee302f9.gz
-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 58b060b6c..034b2c641 100644
--- a/htaccess.sample
+++ b/htaccess.sample
@@ -46,6 +46,7 @@ RewriteRule ^settings/im$ index.php?action=imsettings [L,QSA]
RewriteRule ^settings/email$ index.php?action=emailsettings [L,QSA]
RewriteRule ^settings/sms$ index.php?action=smssettings [L,QSA]
RewriteRule ^settings/twitter$ index.php?action=twittersettings [L,QSA]
+RewriteRule ^settings/other$ index.php?action=othersettings [L,QSA]
RewriteRule ^search/people$ index.php?action=peoplesearch [L,QSA]
RewriteRule ^search/notice$ index.php?action=noticesearch [L,QSA]
diff --git a/lib/util.php b/lib/util.php
index edddcd2a7..eac18e55e 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -953,6 +953,8 @@ function common_fancy_url($action, $args=NULL) {
return common_path('settings/sms');
case 'twittersettings':
return common_path('settings/twitter');
+ case 'othersettings':
+ return common_path('settings/other');
case 'newnotice':
if ($args && $args['replyto']) {
return common_path('notice/new?replyto='.$args['replyto']);