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.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/code/handlers.inc.php b/code/handlers.inc.php
new file mode 100644
index 0000000..d259273
--- /dev/null
+++ b/code/handlers.inc.php
@@ -0,0 +1,13 @@
+<?PHP
+ if(!defined('HANDLERS_INC')) {
+ define('HANDLERS_INC', 1);
+
+ $dir = opendir('handlers');
+
+ while($file = readdir($dir))
+ if($file[0] != '.')
+ include('handlers/' . $file);
+
+ closedir($dir);
+ }
+?>