diff options
author | Daniel Weipert <code@drogueronin.de> | 2023-02-04 11:08:49 +0100 |
---|---|---|
committer | Daniel Weipert <code@drogueronin.de> | 2023-02-04 11:59:06 +0100 |
commit | 29d69f7d9b6412fb9cded5490d6965c709cbace8 (patch) | |
tree | 254769d48af67d86efd0bc1173a6952082cbc628 /src/App.php | |
parent | 1de5d9b89667fc299703ca49f695a1600c5a1fa6 (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/App.php')
-rw-r--r-- | src/App.php | 2 |
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; } |