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/messages/start.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mod/messages/start.php') diff --git a/mod/messages/start.php b/mod/messages/start.php index ccb92d94f..a36bbc621 100644 --- a/mod/messages/start.php +++ b/mod/messages/start.php @@ -12,7 +12,7 @@ elgg_register_event_handler('init', 'system', 'messages_init'); function messages_init() { // register a library of helper functions - elgg_register_library('elgg:messages', elgg_get_plugin_path() . 'messages/lib/messages.php'); + elgg_register_library('elgg:messages', elgg_get_plugins_path() . 'messages/lib/messages.php'); // add page menu items if (isloggedin()) { @@ -59,7 +59,7 @@ function messages_init() { elgg_register_plugin_hook_handler('container_permissions_check', 'object', 'messages_can_edit_container'); // Register actions - $action_path = elgg_get_plugin_path() . 'messages/actions/messages'; + $action_path = elgg_get_plugins_path() . 'messages/actions/messages'; elgg_register_action("messages/send", "$action_path/send.php"); elgg_register_action("messages/delete", "$action_path/delete.php"); elgg_register_action("messages/process", "$action_path/process.php"); @@ -92,7 +92,7 @@ function messages_page_handler($page) { $page[1] = get_loggedin_user()->username; } - $base_dir = elgg_get_plugin_path() . 'messages'; + $base_dir = elgg_get_plugins_path() . 'messages'; switch ($page[0]) { case 'inbox': -- cgit v1.2.3