fix: too many root slashes

This commit is contained in:
Guillermo Pages
2021-09-13 16:34:00 +02:00
parent 232fa35e6d
commit aeec3e36d1

View File

@@ -23,6 +23,7 @@ class FileSystem
$buildPath = '';
for ($i=0; $i<$partsCount; $i++) {
$part = $parts[$i];
if ($part === '') continue;
if (!file_exists($buildPath . "/$part")) {
if (!is_writable($buildPath)) {
if ($throw) {