aboutsummaryrefslogtreecommitdiff
path: root/mod/blog
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/blog
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/blog')
-rw-r--r--mod/blog/start.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/blog/start.php b/mod/blog/start.php
index afedfc4d7..104897bfd 100644
--- a/mod/blog/start.php
+++ b/mod/blog/start.php
@@ -19,7 +19,7 @@ elgg_register_event_handler('init', 'system', 'blog_init');
*/
function blog_init() {
- elgg_register_library('elgg:blog', elgg_get_plugin_path() . 'blog/lib/blog.php');
+ elgg_register_library('elgg:blog', elgg_get_plugins_path() . 'blog/lib/blog.php');
// add a site navigation item
$item = new ElggMenuItem('blog', elgg_echo('blog:blogs'), 'pg/blog/all');
@@ -59,7 +59,7 @@ function blog_init() {
elgg_register_widget_type('blog', elgg_echo('blog'), elgg_echo('blog:widget:description'), 'profile');
// register actions
- $action_path = elgg_get_plugin_path() . 'blog/actions/blog';
+ $action_path = elgg_get_plugins_path() . 'blog/actions/blog';
elgg_register_action('blog/save', "$action_path/save.php");
elgg_register_action('blog/auto_save_revision', "$action_path/auto_save_revision.php");
elgg_register_action('blog/delete', "$action_path/delete.php");