mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-03 23:37:39 +02: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:
@@ -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();
|
||||||
|
Reference in New Issue
Block a user