diff options
author | Sem <sembrestels@riseup.net> | 2011-11-06 20:06:26 +0100 |
---|---|---|
committer | Sem <sembrestels@riseup.net> | 2011-11-06 20:06:26 +0100 |
commit | bd59fd55caede2a13ec00662152e044d2746522c (patch) | |
tree | a2cf5d5a5aae90bb7a54b3765b56464bd42c36ea /start.php | |
parent | c2a680f932b589ada25a5c4c95523ffe07976b79 (diff) | |
download | elgg-bd59fd55caede2a13ec00662152e044d2746522c.tar.gz elgg-bd59fd55caede2a13ec00662152e044d2746522c.tar.bz2 |
Add/edit accion.
Diffstat (limited to 'start.php')
-rw-r--r-- | start.php | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -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"); } /** |