diff --git a/src/AutoLoader.php b/src/AutoLoader.php index 0e2cfbfc..565f35c4 100644 --- a/src/AutoLoader.php +++ b/src/AutoLoader.php @@ -10,6 +10,8 @@ final class AutoLoader public static function _include($className) { + if (strpos($className, 'Szurubooru') === false) + return; $className = str_replace('\\', DIRECTORY_SEPARATOR, $className); $className = str_replace('Szurubooru', '', $className); if (strpos($className, 'Tests') !== false)