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/blog/start.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mod/blog/start.php') 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"); -- cgit v1.2.3