From 0876b60006da7f0ac2d6a4a01b50117a2ecca6b1 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Mon, 21 Jul 2008 04:37:58 -0400 Subject: [PATCH] rewrite for settings of sms darcs-hash:20080721083758-84dde-76534893df215e9754c00c1e0a6d6351f64f1818.gz --- htaccess.sample | 1 + lib/util.php | 2 ++ 2 files changed, 3 insertions(+) diff --git a/htaccess.sample b/htaccess.sample index dc6fcf1f8a..3eb1ddba52 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 e49bb37491..62f7abc9ee 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']); -- 2.39.5