diff options
Diffstat (limited to 'mod/riverdashboard/start.php')
-rw-r--r-- | mod/riverdashboard/start.php | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/mod/riverdashboard/start.php b/mod/riverdashboard/start.php new file mode 100644 index 000000000..b99cff0a0 --- /dev/null +++ b/mod/riverdashboard/start.php @@ -0,0 +1,27 @@ +<?php
+
+ /**
+ * Elgg river dashboard plugin
+ *
+ * @package ElggRiverDash
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @author Curverider Ltd <info@elgg.com>
+ * @copyright Curverider Ltd 2008-2009
+ * @link http://elgg.org/
+ */
+
+ function riverdashboard_init() {
+
+ register_page_handler('dashboard','riverdashboard_dashboard');
+
+ }
+
+ function riverdashboard_dashboard() {
+
+ include(dirname(__FILE__) . '/index.php');
+
+ }
+
+ register_plugin_hook('init','system','riverdashboard_init');
+
+?>
\ No newline at end of file |