summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--htaccess.sample1
-rw-r--r--lib/common.php1
-rw-r--r--lib/util.php1
3 files changed, 3 insertions, 0 deletions
diff --git a/htaccess.sample b/htaccess.sample
index 992cecb37..1cf21ec4c 100644
--- a/htaccess.sample
+++ b/htaccess.sample
@@ -45,5 +45,6 @@ RewriteRule ^(\w+)/rss$ index.php?action=userrss&nickname=$1 [L,QSA]
RewriteRule ^(\w+)/all$ index.php?action=all&nickname=$1 [L,QSA]
RewriteRule ^(\w+)/all/rss$ index.php?action=allrss&nickname=$1 [L,QSA]
RewriteRule ^(\w+)/foaf$ index.php?action=foaf&nickname=$1 [L,QSA]
+RewriteRule ^(\w+)/replies$ index.php?action=replies&nickname=$1 [L,QSA]
RewriteRule ^(\w+)$ index.php?action=showstream&nickname=$1 [L,QSA]
diff --git a/lib/common.php b/lib/common.php
index d3d9fc87f..6be17c091 100644
--- a/lib/common.php
+++ b/lib/common.php
@@ -98,5 +98,6 @@ require_once(INSTALLDIR.'/classes/User.php');
require_once(INSTALLDIR.'/classes/Confirm_address.php');
require_once(INSTALLDIR.'/classes/Remember_me.php');
require_once(INSTALLDIR.'/classes/Queue_item.php');
+require_once(INSTALLDIR.'/classes/Reply.php');
require_once('markdown.php');
diff --git a/lib/util.php b/lib/util.php
index 0aa1bd53e..f540596aa 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -699,6 +699,7 @@ function common_fancy_url($action, $args=NULL) {
case 'subscriptions':
case 'subscribers':
case 'all':
+ case 'replies':
if ($args && $args['page']) {
return common_path($args['nickname'].'/'.$action.'?page=' . $args['page']);
} else {