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

[ticket/11150] Load vendor/ext-autoload.php

PHPBB3-11150
This commit is contained in:
Tristan Darricau
2015-09-25 19:36:05 +02:00
committed by Tristan Darricau
parent e71e6224f5
commit 7958dca09d
5 changed files with 23 additions and 1 deletions

View File

@@ -415,6 +415,12 @@ class container_builder
$ext_container->register('cache.driver', '\\phpbb\\cache\\driver\\dummy');
$ext_container->compile();
$config = $ext_container->get('config');
if (is_file($this->phpbb_root_path . $config['exts_composer_vendor_dir'] . '/autoload.php'))
{
require_once($this->phpbb_root_path . $config['exts_composer_vendor_dir'] . '/autoload.php');
}
$extensions = $ext_container->get('ext.manager')->all_enabled();
// Load each extension found