summaryrefslogtreecommitdiff
path: root/utils/modules.php
blob: 62e64d3ccc72d02f1158d3a963c924fd01b952f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php

$MODULES_DIR = $UTIL_DIR . "/modules";

// Module includes
include_once($MODULES_DIR . "/news.php");
include_once($MODULES_DIR . "/events.php");

$modules = array();

$newsmodule = new News($DATA_DIR . "/news.xml");
$eventsmodule = new Events($DATA_DIR . "/events.xml");

$modules["news"] = $newsmodule;
$modules["events"] = $eventsmodule;

?>