From a8188db366f3920b22e6de58d51e249049ec4113 Mon Sep 17 00:00:00 2001 From: ben Date: Wed, 12 Mar 2008 11:57:33 +0000 Subject: Actions fix git-svn-id: https://code.elgg.org/elgg/trunk@185 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/actions.php | 1 + mod/test/start.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/engine/lib/actions.php b/engine/lib/actions.php index b4a495414..a7e1a8a24 100644 --- a/engine/lib/actions.php +++ b/engine/lib/actions.php @@ -67,6 +67,7 @@ } $CONFIG->actions[$action] = array('file' => $filename, 'public' => $public); + return true; } /** diff --git a/mod/test/start.php b/mod/test/start.php index 09d536052..f8247c6b5 100644 --- a/mod/test/start.php +++ b/mod/test/start.php @@ -24,5 +24,5 @@ // Make sure test_init is called on initialisation register_event_handler('init','system','test_init'); global $CONFIG; - register_action('banana',true,$CONFIG->path . "mod/test/banana.php"); + register_action('banana',true,"mod/test/banana.php"); ?> \ No newline at end of file -- cgit v1.2.3