From da9858182b8ae223428dd802f3eeb7624dcd3645 Mon Sep 17 00:00:00 2001 From: cash Date: Thu, 30 Sep 2010 23:23:18 +0000 Subject: Closes #2344 - moves friends pages into pages directory git-svn-id: http://code.elgg.org/elgg/trunk@6989 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/users.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'engine') 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"); } } } -- cgit v1.2.3