fix: too many root slashes
This commit is contained in:
@@ -23,6 +23,7 @@ class FileSystem
|
|||||||
$buildPath = '';
|
$buildPath = '';
|
||||||
for ($i=0; $i<$partsCount; $i++) {
|
for ($i=0; $i<$partsCount; $i++) {
|
||||||
$part = $parts[$i];
|
$part = $parts[$i];
|
||||||
|
if ($part === '') continue;
|
||||||
if (!file_exists($buildPath . "/$part")) {
|
if (!file_exists($buildPath . "/$part")) {
|
||||||
if (!is_writable($buildPath)) {
|
if (!is_writable($buildPath)) {
|
||||||
if ($throw) {
|
if ($throw) {
|
||||||
|
|||||||
Reference in New Issue
Block a user