fixed 根目录图片
This commit is contained in:
parent
9801e2612f
commit
eb0044618d
|
|
@ -59,7 +59,7 @@ class FileManagerService
|
||||||
*/
|
*/
|
||||||
public function getFiles($baseFolder, int $page = 1): array
|
public function getFiles($baseFolder, int $page = 1): array
|
||||||
{
|
{
|
||||||
$currentBasePath = $this->fileBasePath . $baseFolder;
|
$currentBasePath = rtrim($this->fileBasePath . $baseFolder, '/');
|
||||||
$files = glob($currentBasePath . '/*');
|
$files = glob($currentBasePath . '/*');
|
||||||
|
|
||||||
$images = [];
|
$images = [];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue