[ticket/14645] Language pack not reconised when using a symlink

Symfony finder does not follow symlinks by default.
With this change it does, so a user is able to have the language pack outside
the phpBB directory, and linked with a symlink into phpBB/language/

PHPBB3-14645
This commit is contained in:
Paul Sohier 2016-05-21 19:50:12 +02:00
parent 90cefcf0f4
commit 1a68504174
No known key found for this signature in database
GPG key ID: 1514E166808D920F

View file

@ -47,6 +47,7 @@ class language_file_helper
$finder->files()
->name('iso.txt')
->depth('== 1')
->followLinks()
->in($this->phpbb_root_path . 'language');
$available_languages = array();