summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2023-02-04 11:08:49 +0100
committerDaniel Weipert <code@drogueronin.de>2023-02-04 11:59:06 +0100
commit29d69f7d9b6412fb9cded5490d6965c709cbace8 (patch)
tree254769d48af67d86efd0bc1173a6952082cbc628 /src
parent1de5d9b89667fc299703ca49f695a1600c5a1fa6 (diff)
Fix buildConfig break when contentFolderPath is reached
So a form with the same name as the content directory can exist
Diffstat (limited to 'src')
-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;
}