Skip to content

Commit 3c2b470

Browse files
committed
basepath of FileApi should be set in constructor
1 parent 1267f13 commit 3c2b470

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/FileApi.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ public function __construct($basepath = DIRECTORY_SEPARATOR, $visibility = 'publ
3232
$basepath = mb_substr($basepath, 1, null, 'utf8');
3333
}
3434

35+
$this->setBasePath($basepath);
36+
3537
$this->visibility = $visibility;
3638
}
3739

0 commit comments

Comments
 (0)