summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-07-21 04:37:58 -0400
committerEvan Prodromou <evan@prodromou.name>2008-07-21 04:37:58 -0400
commit0876b60006da7f0ac2d6a4a01b50117a2ecca6b1 (patch)
treef838bd7a130d77985bd75641da8318d2033c629d
parent9e8ef3bce15484b89291ec8b49be8fbd4c744dab (diff)
rewrite for settings of sms
darcs-hash:20080721083758-84dde-76534893df215e9754c00c1e0a6d6351f64f1818.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 dc6fcf1f8..3eb1ddba5 100644
--- a/htaccess.sample
+++ b/htaccess.sample
@@ -33,6 +33,7 @@ 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 ^settings/email$ index.php?action=emailsettings [L,QSA]
+RewriteRule ^settings/sms$ index.php?action=smssettings [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 e49bb3749..62f7abc9e 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -742,6 +742,8 @@ function common_fancy_url($action, $args=NULL) {
return common_path('settings/email');
case 'openidsettings':
return common_path('settings/openid');
+ case 'smssettings':
+ return common_path('settings/sms');
case 'newnotice':
if ($args && $args['replyto']) {
return common_path('notice/new?replyto='.$args['replyto']);