aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-09-30 23:23:18 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-09-30 23:23:18 +0000
commitda9858182b8ae223428dd802f3eeb7624dcd3645 (patch)
tree5c7a60b43264c1f4819bca34d6a416a140df1967 /engine/lib
parent839dcba98a17b6d8b3fb63aec7744eda373ec5ff (diff)
downloadelgg-da9858182b8ae223428dd802f3eeb7624dcd3645.tar.gz
elgg-da9858182b8ae223428dd802f3eeb7624dcd3645.tar.bz2
Closes #2344 - moves friends pages into pages directory
git-svn-id: http://code.elgg.org/elgg/trunk@6989 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib')
-rw-r--r--engine/lib/users.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/lib/users.php b/engine/lib/users.php
index 5d16decb7..05311ab9d 100644
--- a/engine/lib/users.php
+++ b/engine/lib/users.php
@@ -1133,7 +1133,7 @@ function friends_page_handler($page_elements) {
if (get_loggedin_userid() == page_owner()) {
// collections_submenu_items(); disabled for now as we no longer use friends collections (replaced by shared access)
}
- require_once(dirname(dirname(dirname(__FILE__))) . "/friends/index.php");
+ require_once(dirname(dirname(dirname(__FILE__))) . "/pages/friends/index.php");
}
/**
@@ -1147,7 +1147,7 @@ function friends_of_page_handler($page_elements) {
if (get_loggedin_userid() == page_owner()) {
// collections_submenu_items(); disabled for now as we no longer use friends collections (replaced by shared access)
}
- require_once(dirname(dirname(dirname(__FILE__))) . "/friends/of.php");
+ require_once(dirname(dirname(dirname(__FILE__))) . "/pages/friends/of.php");
}
/**
@@ -1159,14 +1159,14 @@ function collections_page_handler($page_elements) {
if ($page_elements[0] == "add") {
set_page_owner(get_loggedin_userid());
collections_submenu_items();
- require_once(dirname(dirname(dirname(__FILE__))) . "/friends/add.php");
+ require_once(dirname(dirname(dirname(__FILE__))) . "/pages/friends/add.php");
} else {
if ($user = get_user_by_username($page_elements[0])) {
set_page_owner($user->getGUID());
if (get_loggedin_userid() == page_owner()) {
collections_submenu_items();
}
- require_once(dirname(dirname(dirname(__FILE__))) . "/friends/collections.php");
+ require_once(dirname(dirname(dirname(__FILE__))) . "/pages/friends/collections.php");
}
}
}