diff options
author | Remi Collet <fedora@famillecollet.com> | 2017-04-02 18:08:53 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2017-04-02 18:08:53 +0200 |
commit | b9aaf1873cbec4be110492b370bf628bb3c7f706 (patch) | |
tree | c4ada65ba8558ae495abf21094b08005d7e62b69 /Autoload.php.in | |
parent | 6f353a58daac76e2dfc78f1ab8436f94af70660a (diff) |
switch the specs
Diffstat (limited to 'Autoload.php.in')
-rw-r--r-- | Autoload.php.in | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/Autoload.php.in b/Autoload.php.in deleted file mode 100644 index 303cc0f..0000000 --- a/Autoload.php.in +++ /dev/null @@ -1,27 +0,0 @@ -<?php -/* inspired from Autoload.php from version 1.2 */ - -require_once 'File/Iterator/Autoload.php'; -require_once 'PHP/Token/Stream/Autoload.php'; -require_once 'Text/Template/Autoload.php'; -require_once 'SebastianBergmann/Environment/autoload.php'; -require_once 'SebastianBergmann/Version/autoload.php'; - -spl_autoload_register( - function ($class) - { - static $classes = NULL; - - if ($classes === NULL) { - $classes = array( - ___CLASSLIST___ - ); - } - - $cn = strtolower($class); - - if (isset($classes[$cn])) { - require __DIR__ . $classes[$cn]; - } - } -); |