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
@@ -99,6 +99,11 @@ if (isset($_GET['avatar']))
|
||||
/* @var $phpbb_avatar_manager \phpbb\avatar\manager */
|
||||
$phpbb_avatar_manager = $phpbb_container->get('avatar.manager');
|
||||
|
||||
if (is_file($phpbb_root_path . $config['exts_composer_vendor_dir'] . '/autoload.php'))
|
||||
{
|
||||
require_once($phpbb_root_path . $config['exts_composer_vendor_dir'] . '/autoload.php');
|
||||
}
|
||||
|
||||
$filename = $request->variable('avatar', '');
|
||||
$avatar_group = false;
|
||||
$exit = false;
|
||||
|
Reference in New Issue
Block a user