mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/14358] Includes the composer autoloader in create_schema_files.php
PHPBB3-14358
This commit is contained in:
parent
7c05b881c5
commit
54d3d4be30
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Reference in a new issue