summaryrefslogtreecommitdiffstats
path: root/code/handlers.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'code/handlers.inc.php')
-rw-r--r--code/handlers.inc.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/code/handlers.inc.php b/code/handlers.inc.php
index 5410de0..a167ba8 100644
--- a/code/handlers.inc.php
+++ b/code/handlers.inc.php
@@ -1,4 +1,6 @@
<?PHP
+ require_once('code/modules.inc.php');
+
$dir = opendir('handlers');
while($file = readdir($dir))
@@ -6,4 +8,7 @@
include('handlers/' . $file);
closedir($dir);
+
+ foreach($GLOBALS['modules']->handlers as $file)
+ include($file);
?>