Merge pull request #4080 from Nicofuma/ticket/14358

[ticket/14358] Includes the composer autoloader in create_schema_files.php
This commit is contained in:
Máté Bartus 2015-12-14 22:16:32 +01:00
commit 60587d77bb

View file

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