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:
committed by
Tristan Darricau
parent
e71e6224f5
commit
7958dca09d
@@ -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
|
||||
|
Reference in New Issue
Block a user