diff options
Diffstat (limited to 'Autoload.php.in')
-rw-r--r-- | Autoload.php.in | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/Autoload.php.in b/Autoload.php.in deleted file mode 100644 index 94cfaee..0000000 --- a/Autoload.php.in +++ /dev/null @@ -1,24 +0,0 @@ -<?php -/* Inspired from Autoload from version 1.2 */ - -spl_autoload_register( - function ($class) - { - static $classes = NULL; - static $path = NULL; - - if ($classes === NULL) { - $classes = array( - ___CLASSLIST___ - ); - - $path = __DIR__; - } - - $cn = strtolower($class); - - if (isset($classes[$cn])) { - require $path . $classes[$cn]; - } - } -); |