[ticket/14358] Includes the composer autoloader in create_schema_files.php

PHPBB3-14358
This commit is contained in:
Tristan Darricau 2015-12-14 22:13:23 +01:00
parent 7c05b881c5
commit 54d3d4be30

View file

@ -38,6 +38,7 @@ define('IN_PHPBB', true);
$phpbb_root_path = dirname(__FILE__) . '/../'; $phpbb_root_path = dirname(__FILE__) . '/../';
$phpEx = substr(strrchr(__FILE__, '.'), 1); $phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'vendor/autoload.php');
include($phpbb_root_path . 'includes/constants.' . $phpEx); include($phpbb_root_path . 'includes/constants.' . $phpEx);
require($phpbb_root_path . 'phpbb/class_loader.' . $phpEx); require($phpbb_root_path . 'phpbb/class_loader.' . $phpEx);
$phpbb_class_loader = new \phpbb\class_loader('phpbb\\', "{$phpbb_root_path}phpbb/", $phpEx); $phpbb_class_loader = new \phpbb\class_loader('phpbb\\', "{$phpbb_root_path}phpbb/", $phpEx);