summaryrefslogtreecommitdiff
path: root/utils/modules.php
diff options
context:
space:
mode:
authordeva <deva>2008-10-24 10:20:04 +0000
committerdeva <deva>2008-10-24 10:20:04 +0000
commit96b8bc5ff5882f33114137d6b07db32e17b8ad87 (patch)
tree24ee6be2390627fc005b0e2ec12829c0fc5aef47 /utils/modules.php
parent9bca27c9342bd4f34bed77dd3eb8c51dd686cdf1 (diff)
Did a lot of work on the page and module systems.
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