summaryrefslogtreecommitdiff
path: root/utils/modules.php
diff options
context:
space:
mode:
Diffstat (limited to 'utils/modules.php')
-rw-r--r--utils/modules.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/utils/modules.php b/utils/modules.php
new file mode 100644
index 0000000..6983d6b
--- /dev/null
+++ b/utils/modules.php
@@ -0,0 +1,16 @@
+<?php
+
+// Module includes
+include_once($UTIL_DIR . "/news.php");
+include_once($UTIL_DIR . "/events.php");
+
+$modules = array();
+
+$newsmodule = new News($DATA_DIR . "/news.xml");
+$eventsmodule = new Events($DATA_DIR . "/events.xml");
+
+$modules["news"] = $newsmodule;
+$modules["events_coming"] = $eventsmodule;
+$modules["events_old"] = $eventsmodule;
+
+?> \ No newline at end of file