From 1a6850417439b3b05b5971a9c21ebcffe04967ef Mon Sep 17 00:00:00 2001 From: Paul Sohier Date: Sat, 21 May 2016 19:50:12 +0200 Subject: [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 --- phpBB/phpbb/language/language_file_helper.php | 1 + 1 file changed, 1 insertion(+) (limited to 'phpBB/phpbb') 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(); -- cgit v1.2.1