mirror of
https://github.com/Karaka-Management/oms-Search.git
synced 2026-01-11 18:48:41 +00:00
fix autoloading
This commit is contained in:
parent
7e9e91bc3a
commit
7cea906376
|
|
@ -80,8 +80,6 @@ final class Autoloader
|
||||||
|
|
||||||
if (\stripos($class, 'Web/Backend') !== false || \stripos($class, 'Web/Api') !== false) {
|
if (\stripos($class, 'Web/Backend') !== false || \stripos($class, 'Web/Api') !== false) {
|
||||||
$class = \str_replace('Web/', 'Install/Application/', $class);
|
$class = \str_replace('Web/', 'Install/Application/', $class);
|
||||||
} elseif (\stripos($class, 'Autoloader') !== false) {
|
|
||||||
$class = 'tests/Autoloader.php';
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$class2 = $class;
|
$class2 = $class;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user