mirror of
https://github.com/Karaka-Management/oms-Tag.git
synced 2026-01-10 15:28:39 +00:00
fix autoloading
This commit is contained in:
parent
d33875b632
commit
c7c2218f1b
|
|
@ -99,12 +99,10 @@ final class Autoloader
|
|||
foreach (self::$paths as $path) {
|
||||
if (($file = \realpath($path . $class2 . '.php')) !== false && \stripos($file, $class3) !== false) {
|
||||
include_once $file;
|
||||
echo $file . "\n";
|
||||
|
||||
return;
|
||||
} elseif (\is_file($file = $path . $class . '.php')) {
|
||||
include_once $file;
|
||||
echo $file . "\n";
|
||||
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user