mirror of
https://github.com/Karaka-Management/oms-OnlineResourceWatcher.git
synced 2026-02-13 22:58:40 +00:00
fix tests
This commit is contained in:
parent
f5e139d99f
commit
5ec2f5f8a5
|
|
@ -79,10 +79,7 @@ final class Autoloader
|
||||||
$class = \strtr($class, '_\\', '//');
|
$class = \strtr($class, '_\\', '//');
|
||||||
|
|
||||||
foreach (self::$paths as $path) {
|
foreach (self::$paths as $path) {
|
||||||
$file = $path . $class . '.php';
|
if (\is_file($file = $path . $class . '.php')) {
|
||||||
$file = \str_replace('/Modules/', '/', $file);
|
|
||||||
|
|
||||||
if (\is_file($file)) {
|
|
||||||
include_once $file;
|
include_once $file;
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user