summaryrefslogtreecommitdiffstats
path: root/Autoload.php.in
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-07-04 17:04:20 +0200
committerRemi Collet <fedora@famillecollet.com>2015-07-04 17:04:20 +0200
commitc59261bbfcb79867ee437a1547993718acac6c3e (patch)
tree6c9f49c387965b6537ad962b72c6c97a7081c4c5 /Autoload.php.in
parent813a0a3ebed2ebaddb84136714e966f6bfb16e59 (diff)
php-phpunit-PHPUnit-MockObject: 2.3.5
Diffstat (limited to 'Autoload.php.in')
-rw-r--r--Autoload.php.in24
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];
- }
- }
-);