We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70cf0c2 commit 2516175Copy full SHA for 2516175
lib/internal/Magento/Framework/Filesystem/Driver/File.php
@@ -254,7 +254,10 @@ private function mkdirRecursive($path, $permissions = 0777)
254
public function readDirectory($path)
255
{
256
try {
257
- $flags = \FilesystemIterator::SKIP_DOTS | \FilesystemIterator::UNIX_PATHS;
+ $flags = \FilesystemIterator::SKIP_DOTS |
258
+ \FilesystemIterator::UNIX_PATHS |
259
+ \RecursiveDirectoryIterator::FOLLOW_SYMLINKS;
260
+
261
$iterator = new \FilesystemIterator($path, $flags);
262
$result = [];
263
/** @var \FilesystemIterator $file */
0 commit comments