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/file/start.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mod/file/start.php') diff --git a/mod/file/start.php b/mod/file/start.php index f60de52ec..4eb67cd32 100644 --- a/mod/file/start.php +++ b/mod/file/start.php @@ -13,7 +13,7 @@ elgg_register_event_handler('init', 'system', 'file_init'); function file_init() { // register a library of helper functions - elgg_register_library('elgg:file', elgg_get_plugin_path() . 'file/lib/file.php'); + elgg_register_library('elgg:file', elgg_get_plugins_path() . 'file/lib/file.php'); // Site navigation $item = new ElggMenuItem('file', elgg_echo('file'), 'pg/file/all'); @@ -50,7 +50,7 @@ function file_init() { elgg_register_plugin_hook_handler('register', 'menu:owner_block', 'file_owner_block_menu'); // Register actions - $action_path = elgg_get_plugin_path() . 'file/actions/file'; + $action_path = elgg_get_plugins_path() . 'file/actions/file'; elgg_register_action("file/upload", "$action_path/upload.php"); elgg_register_action("file/delete", "$action_path/delete.php"); // temporary - see #2010 @@ -85,7 +85,7 @@ function file_page_handler($page) { $page[0] = 'all'; } - $file_dir = elgg_get_plugin_path() . 'file'; + $file_dir = elgg_get_plugins_path() . 'file'; $page_type = $page[0]; switch ($page_type) { -- cgit v1.2.3