aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engine/lib/actions.php1
-rw-r--r--mod/test/start.php2
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