aboutsummaryrefslogtreecommitdiff
path: root/mod/exporttest/start.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/exporttest/start.php')
-rw-r--r--mod/exporttest/start.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/mod/exporttest/start.php b/mod/exporttest/start.php
new file mode 100644
index 000000000..d25e5c06d
--- /dev/null
+++ b/mod/exporttest/start.php
@@ -0,0 +1,15 @@
+<?php
+
+ function exporttest_init($event, $object_type, $object = null) {
+
+ global $CONFIG;
+
+ add_menu("Export GUID",$CONFIG->wwwroot . "mod/exporttest/",array(
+ menu_item("The GUID Exporter",$CONFIG->wwwroot."mod/exporttest/"),
+ ));
+ }
+
+
+ // Make sure test_init is called on initialisation
+ register_event_handler('init','system','exporttest_init');
+?> \ No newline at end of file