aboutsummaryrefslogtreecommitdiff
path: root/mod/pages/start.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-03 12:10:45 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-03 12:10:45 +0000
commit4ff61fa6a8c012053659b1723b7dea9d38cd654e (patch)
tree4931ad21da79286d452c4e3ccbeb542875f9d53e /mod/pages/start.php
parent755947e111d89d6babcd0f070d91c2245e22a809 (diff)
downloadelgg-4ff61fa6a8c012053659b1723b7dea9d38cd654e.tar.gz
elgg-4ff61fa6a8c012053659b1723b7dea9d38cd654e.tar.bz2
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
Diffstat (limited to 'mod/pages/start.php')
-rw-r--r--mod/pages/start.php6
1 files changed, 3 insertions, 3 deletions
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) {