mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +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()
|
||||
->name('iso.txt')
|
||||
->depth('== 1')
|
||||
->followLinks()
|
||||
->in($this->phpbb_root_path . 'language');
|
||||
|
||||
$available_languages = array();
|
||||
|
Reference in New Issue
Block a user