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