aboutsummaryrefslogtreecommitdiff
path: root/start.php
diff options
context:
space:
mode:
authorSem <sembrestels@riseup.net>2011-11-06 20:06:26 +0100
committerSem <sembrestels@riseup.net>2011-11-06 20:06:26 +0100
commitbd59fd55caede2a13ec00662152e044d2746522c (patch)
treea2cf5d5a5aae90bb7a54b3765b56464bd42c36ea /start.php
parentc2a680f932b589ada25a5c4c95523ffe07976b79 (diff)
downloadelgg-bd59fd55caede2a13ec00662152e044d2746522c.tar.gz
elgg-bd59fd55caede2a13ec00662152e044d2746522c.tar.bz2
Add/edit accion.
Diffstat (limited to 'start.php')
-rw-r--r--start.php9
1 files changed, 5 insertions, 4 deletions
diff --git a/start.php b/start.php
index 94a07a35c..c0ed1a0bf 100644
--- a/start.php
+++ b/start.php
@@ -75,10 +75,11 @@ function videolist_init() {
elgg_register_plugin_hook_handler('entity:icon:url', 'user', 'profile_usericon_hook');
// Register actions
- elgg_register_action("videolist/add", elgg_get_plugins_path() . "videolist/actions/add.php");
- elgg_register_action("videolist/edit", elgg_get_plugins_path() . "videolist/actions/edit.php");
- elgg_register_action("videolist/tubesearch", elgg_get_plugins_path() . "videolist/actions/tubesearch.php");
- elgg_register_action("videolist/delete", elgg_get_plugins_path() . "videolist/actions/delete.php");
+ $actions_path = elgg_get_plugins_path() . "videolist/actions/videolist";
+ elgg_register_action("videolist/add", "$actions_path/add.php");
+ elgg_register_action("videolist/edit", "$actions_path/edit.php");
+ elgg_register_action("videolist/tubesearch", "$actions_path/tubesearch.php");
+ elgg_register_action("videolist/delete", "$actions_path/delete.php");
}
/**