aboutsummaryrefslogtreecommitdiff
path: root/mod/messages
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/messages
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/messages')
-rw-r--r--mod/messages/start.php6
1 files changed, 3 insertions, 3 deletions
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':