From 531341b0ac92f22fcae1e7b8fff67e7f0be9c91f Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 14 Sep 2015 11:10:49 +0200 Subject: php-phpunit-PHP-CodeCoverage: 2.2.3 --- Autoload.php.in | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'Autoload.php.in') diff --git a/Autoload.php.in b/Autoload.php.in index 2f422fb..303cc0f 100644 --- a/Autoload.php.in +++ b/Autoload.php.in @@ -11,20 +11,17 @@ 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]; + require __DIR__ . $classes[$cn]; } } ); -- cgit