aboutsummaryrefslogtreecommitdiff
path: root/start.php
diff options
context:
space:
mode:
Diffstat (limited to 'start.php')
-rw-r--r--start.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/start.php b/start.php
new file mode 100644
index 000000000..36babf170
--- /dev/null
+++ b/start.php
@@ -0,0 +1,16 @@
+<?php
+/**
+ * Elgg Magic Topbar plugin
+ *
+ * @package ElggMagicTopbar
+ */
+
+elgg_register_event_handler('init', 'system', 'magic_topbar_init');
+
+/**
+ * Initialize the magic topbar plugin.
+ */
+function magic_topbar_init() {
+ elgg_extend_view('css/elgg','magic_topbar/css');
+ elgg_extend_view('js/elgg','magic_topbar/js');
+}