From 4ff61fa6a8c012053659b1723b7dea9d38cd654e Mon Sep 17 00:00:00 2001 From: cash Date: Thu, 3 Feb 2011 12:10:45 +0000 Subject: changed elgg_get_plugin_path() to elgg_get_plugins_path() git-svn-id: http://code.elgg.org/elgg/trunk@8001 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/pages/start.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mod/pages/start.php') diff --git a/mod/pages/start.php b/mod/pages/start.php index 678449dc1..efbf243d6 100644 --- a/mod/pages/start.php +++ b/mod/pages/start.php @@ -14,7 +14,7 @@ elgg_register_event_handler('init', 'system', 'pages_init'); function pages_init() { // register a library of helper functions - elgg_register_library('elgg:pages', elgg_get_plugin_path() . 'pages/lib/pages.php'); + elgg_register_library('elgg:pages', elgg_get_plugins_path() . 'pages/lib/pages.php'); $item = new ElggMenuItem('pages', elgg_echo('pages'), 'pg/pages/all'); elgg_register_menu_item('site', $item); @@ -28,7 +28,7 @@ function pages_init() { register_extender_url_handler('pages_revision_url', 'annotation', 'page'); // Register some actions - $action_base = elgg_get_plugin_path() . 'pages/actions/pages'; + $action_base = elgg_get_plugins_path() . 'pages/actions/pages'; elgg_register_action("pages/edit", "$action_base/edit.php"); elgg_register_action("pages/editwelcome", "$action_base/editwelcome.php"); elgg_register_action("pages/delete", "$action_base/delete.php"); @@ -105,7 +105,7 @@ function pages_page_handler($page) { elgg_push_breadcrumb(elgg_echo('pages'), 'pg/pages/all'); - $base_dir = elgg_get_plugin_path() . 'pages'; + $base_dir = elgg_get_plugins_path() . 'pages'; $page_type = $page[0]; switch ($page_type) { -- cgit v1.2.3