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']);