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

@@ -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;