diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-03-12 11:57:33 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-03-12 11:57:33 +0000 |
commit | a8188db366f3920b22e6de58d51e249049ec4113 (patch) | |
tree | ca2d87d331cae86f78b9d0d4ad7b948c356e0c25 | |
parent | 4e06bd2292a1bc7eef3dd742149a577ea09fcf5e (diff) | |
download | elgg-a8188db366f3920b22e6de58d51e249049ec4113.tar.gz elgg-a8188db366f3920b22e6de58d51e249049ec4113.tar.bz2 |
Actions fix
git-svn-id: https://code.elgg.org/elgg/trunk@185 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r-- | engine/lib/actions.php | 1 | ||||
-rw-r--r-- | mod/test/start.php | 2 |
2 files changed, 2 insertions, 1 deletions
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 |