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