This commit is contained in:
Dennis Eichhorn 2018-03-29 13:37:56 +02:00 committed by GitHub
parent d37433c026
commit 067af207df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -72,8 +72,8 @@ class Autoloader
$class = str_replace(['_', '\\'], '/', $class);
foreach (self::$paths as $path) {
if (file_exists($path = __DIR__ . '/../' . $class . '.php')) {
include_once $path;
if (file_exists($file = $path . $class . '.php')) {
include_once $file;
return;
}