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.php18
1 files changed, 7 insertions, 11 deletions
diff --git a/code/handlers.inc.php b/code/handlers.inc.php
index 018402e..5410de0 100644
--- a/code/handlers.inc.php
+++ b/code/handlers.inc.php
@@ -1,13 +1,9 @@
<?PHP
- if(!defined('HANDLERS_INC')) {
- define('HANDLERS_INC', 1);
-
- $dir = opendir('handlers');
-
- while($file = readdir($dir))
- if($file[0] != '.' && substr($file, -8) == '.inc.php')
- include('handlers/' . $file);
-
- closedir($dir);
- }
+ $dir = opendir('handlers');
+
+ while($file = readdir($dir))
+ if($file[0] != '.' && substr($file, -8) == '.inc.php')
+ include('handlers/' . $file);
+
+ closedir($dir);
?>