[ticket/13120] Follows the symlinks in phpbb_load_extensions_autoloaders

PHPBB3-13120
This commit is contained in:
Tristan Darricau 2014-09-30 21:20:42 +02:00
parent 71ac6ab2b8
commit 3a413cbf30

View file

@ -31,7 +31,7 @@ function phpbb_load_extensions_autoloaders($phpbb_root_path)
new \phpbb\recursive_dot_prefix_filter_iterator( new \phpbb\recursive_dot_prefix_filter_iterator(
new \RecursiveDirectoryIterator( new \RecursiveDirectoryIterator(
$phpbb_root_path . 'ext/', $phpbb_root_path . 'ext/',
\FilesystemIterator::SKIP_DOTS \FilesystemIterator::SKIP_DOTS | \FilesystemIterator::FOLLOW_SYMLINKS
) )
), ),
\RecursiveIteratorIterator::SELF_FIRST \RecursiveIteratorIterator::SELF_FIRST