1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +02:00

[ticket/11381] Make finder able to search in all available extensions

PHPBB3-11381
This commit is contained in:
Nathaniel Guse
2013-03-01 11:37:24 -06:00
parent 8200509c79
commit e34f6a5269
2 changed files with 28 additions and 11 deletions

View File

@@ -92,7 +92,7 @@ class phpbb_style_extension_path_provider extends phpbb_extension_provider imple
if ($path && !phpbb_is_absolute($path))
{
$result = $finder->directory('/' . $this->ext_dir_prefix . $path)
->get_directories(true, true);
->get_directories(true, false, true);
foreach ($result as $ext => $ext_path)
{
$directories[$ext][] = $ext_path;