This commit is contained in:
2021-03-03 19:09:00 +08:00
parent 04f844be51
commit 0433e173e6
+1 -1
View File
@@ -133,7 +133,7 @@ class Loader extends BaseObject
continue;
}
$replace = str_replace(APP_PATH . '/', '', $path->getPathname());
$replace = str_replace(APP_PATH . '/', '', $path->getRealPath());
$replace = str_replace('.php', '', $replace);
$replace = str_replace(DIRECTORY_SEPARATOR, '\\', $replace);