mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-02 18:58:43 +00:00
fix autoloading
This commit is contained in:
parent
fb35f86c5c
commit
9cef4cddaf
|
|
@ -79,8 +79,6 @@ 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