Closed ipppinto closed 6 years ago
Hi,
I try to use $paths = Yii::$app->fs->listPaths() and have this error:
It's normal or is a bad configuration mine?
Thank you
The answer:
Yii::$app->fs->addPlugin(new League\Flysystem\Plugin\ListPaths()); $paths = Yii::$app->fs->listPaths();
foreach ($paths as $path) { echo $path; }
Hi,
I try to use $paths = Yii::$app->fs->listPaths() and have this error:
It's normal or is a bad configuration mine?
Thank you