aboutsummaryrefslogtreecommitdiff
path: root/start.php
diff options
context:
space:
mode:
Diffstat (limited to 'start.php')
-rw-r--r--start.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/start.php b/start.php
new file mode 100644
index 000000000..c14609b21
--- /dev/null
+++ b/start.php
@@ -0,0 +1,14 @@
+<?php
+
+elgg_register_event_handler('init', 'system', 'basic_theme_init');
+
+function basic_theme_init() {
+ // Override Elgg logo item
+ elgg_register_menu_item('topbar', array(
+ 'name' => 'elgg_logo',
+ 'text' => elgg_get_site_entity()->name,
+ 'href' => elgg_get_site_url(),
+ 'priority' => 0,
+ ));
+
+}