This commit is contained in:
2021-04-14 17:53:47 +08:00
parent eb93e711ae
commit 603f88c85c
+1 -1
View File
@@ -265,7 +265,7 @@ class Loader extends BaseObject
private function each(string $filePath): static
{
$tree = null;
$filePath = str_replace(directory('app'), '', $filePath);
$filePath = str_replace(APP_PATH, '', $filePath);
$directory = $this->splitDirectory($filePath);