summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-07-06 23:23:48 -0400
committerEvan Prodromou <evan@prodromou.name>2008-07-06 23:23:48 -0400
commitf6303475aa512ce96759c9f39b7a4b7d2e6fb7f9 (patch)
tree16b24e6de59e12e44be2970c5ff01b4acaf8f48e /lib
parent7231c58e22c0839b692bea6dd6f39d6a9dcdb823 (diff)
add replies fancy url and include Reply class
darcs-hash:20080707032348-84dde-e217ed87ae6947d6fdda64dc105ac4a433c7793a.gz
Diffstat (limited to 'lib')
-rw-r--r--lib/common.php1
-rw-r--r--lib/util.php1
2 files changed, 2 insertions, 0 deletions
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 {