summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/App.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/App.php b/src/App.php
index ea9aa29..350247f 100644
--- a/src/App.php
+++ b/src/App.php
@@ -148,7 +148,7 @@ class App
include_once $functionsFile;
}
- if (str_ends_with($currentDirectory, '/' . basename($_ENV['app']['contentFolderPath'])) || $currentDirectory == '/') {
+ if ($currentDirectory == $_ENV['app']['contentFolderPath'] || $currentDirectory == '/') {
break;
}