Skip to content

Commit 513922c

Browse files
committed
MAGETWO-43571: i18n:collect phrases does not follow symlinks
1 parent fef6a04 commit 513922c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup/src/Magento/Setup/Module/I18n/FilesCollector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ protected function _getIterator($path, $fileMask = false)
4242
try {
4343
$directoryIterator = new \RecursiveDirectoryIterator(
4444
$path,
45-
\FilesystemIterator::SKIP_DOTS | \FilesystemIterator::UNIX_PATHS
45+
\FilesystemIterator::SKIP_DOTS | \FilesystemIterator::UNIX_PATHS | \FilesystemIterator::FOLLOW_SYMLINKS
4646
);
4747
$iterator = new \RecursiveIteratorIterator($directoryIterator);
4848
} catch (\UnexpectedValueException $valueException) {

0 commit comments

Comments
 (0)