diff options
-rw-r--r-- | htaccess.sample | 1 | ||||
-rw-r--r-- | lib/util.php | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/htaccess.sample b/htaccess.sample index cba4e69e6..598ea9f7f 100644 --- a/htaccess.sample +++ b/htaccess.sample @@ -73,6 +73,7 @@ RewriteRule ^(\w+)/replies$ index.php?action=replies&nickname=$1 [L,QSA] RewriteRule ^(\w+)/replies/rss$ index.php?action=repliesrss&nickname=$1 [L,QSA] RewriteRule ^(\w+)/avatar/(original|96|48|24)$ index.php?action=avatarbynickname&nickname=$1&size=$2 [L,QSA] RewriteRule ^(\w+)/favorites$ index.php?action=showfavorites&nickname=$1 [L,QSA] +RewriteRule ^(\w+)/favorites/rss$ index.php?action=favoritesrss&nickname=$1 [L,QSA] RewriteRule ^(\w+)/inbox$ index.php?action=inbox&nickname=$1 [L,QSA] RewriteRule ^(\w+)/outbox$ index.php?action=outbox&nickname=$1 [L,QSA] diff --git a/lib/util.php b/lib/util.php index 20fe4ced6..87c7f8fb0 100644 --- a/lib/util.php +++ b/lib/util.php @@ -945,6 +945,8 @@ function common_fancy_url($action, $args=NULL) { } else { return common_path($args['nickname'].'/favorites'); } + case 'favoritesrss': + return common_path($args['nickname'].'/favorites/rss'); case 'showmessage': return common_path('message/' . $args['message']); case 'newmessage': |