From 54d3d4be308a61bc4986a16ceffd9164a84b3cf8 Mon Sep 17 00:00:00 2001 From: Tristan Darricau Date: Mon, 14 Dec 2015 22:13:23 +0100 Subject: [PATCH] [ticket/14358] Includes the composer autoloader in create_schema_files.php PHPBB3-14358 --- phpBB/develop/create_schema_files.php | 1 + 1 file changed, 1 insertion(+) diff --git a/phpBB/develop/create_schema_files.php b/phpBB/develop/create_schema_files.php index f6bfd6a52f..09bc4c4085 100644 --- a/phpBB/develop/create_schema_files.php +++ b/phpBB/develop/create_schema_files.php @@ -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);