This commit is contained in:
2021-03-03 19:05:57 +08:00
parent 3a496926c9
commit 04f844be51
2 changed files with 490 additions and 461 deletions
+1 -1
View File
@@ -133,7 +133,7 @@ class Loader extends BaseObject
continue;
}
$replace = str_replace(__DIR__ . '/', '', $path->getPathname());
$replace = str_replace(APP_PATH . '/', '', $path->getPathname());
$replace = str_replace('.php', '', $replace);
$replace = str_replace(DIRECTORY_SEPARATOR, '\\', $replace);