diff options
author | Paul Sohier <paul999@phpbb.com> | 2016-05-21 19:50:12 +0200 |
---|---|---|
committer | Paul Sohier <paul999@phpbb.com> | 2016-05-21 19:50:12 +0200 |
commit | 1a6850417439b3b05b5971a9c21ebcffe04967ef (patch) | |
tree | 64df02ba2a1a70290f393bc8c7640b29ccaa4893 /phpBB/phpbb/language | |
parent | 90cefcf0f40c80b05454de4961ac23f549e75a42 (diff) | |
download | forums-1a6850417439b3b05b5971a9c21ebcffe04967ef.tar forums-1a6850417439b3b05b5971a9c21ebcffe04967ef.tar.gz forums-1a6850417439b3b05b5971a9c21ebcffe04967ef.tar.bz2 forums-1a6850417439b3b05b5971a9c21ebcffe04967ef.tar.xz forums-1a6850417439b3b05b5971a9c21ebcffe04967ef.zip |
[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
Diffstat (limited to 'phpBB/phpbb/language')
-rw-r--r-- | phpBB/phpbb/language/language_file_helper.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/phpbb/language/language_file_helper.php b/phpBB/phpbb/language/language_file_helper.php index 18d7b62e21..85de034fb8 100644 --- a/phpBB/phpbb/language/language_file_helper.php +++ b/phpBB/phpbb/language/language_file_helper.php @@ -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(); |