mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[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:
parent
90cefcf0f4
commit
1a68504174
1 changed files with 1 additions and 0 deletions
|
@ -47,6 +47,7 @@ class language_file_helper
|
||||||
$finder->files()
|
$finder->files()
|
||||||
->name('iso.txt')
|
->name('iso.txt')
|
||||||
->depth('== 1')
|
->depth('== 1')
|
||||||
|
->followLinks()
|
||||||
->in($this->phpbb_root_path . 'language');
|
->in($this->phpbb_root_path . 'language');
|
||||||
|
|
||||||
$available_languages = array();
|
$available_languages = array();
|
||||||
|
|
Loading…
Add table
Reference in a new issue