mirror of
https://github.com/Karaka-Management/oms-RiskManagement.git
synced 2026-02-05 14:58:40 +00:00
fix tests
This commit is contained in:
parent
efadfd5d72
commit
28a1a666b0
|
|
@ -78,7 +78,7 @@ final class Autoloader
|
||||||
$class = \ltrim($class, '\\');
|
$class = \ltrim($class, '\\');
|
||||||
$class = \strtr($class, '_\\', '//');
|
$class = \strtr($class, '_\\', '//');
|
||||||
|
|
||||||
if (\stripos($class, 'Web/Backend')) {
|
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user