aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTristan Darricau <tristan.darricau@sensiolabs.com>2015-12-14 22:13:23 +0100
committerTristan Darricau <tristan.darricau@sensiolabs.com>2015-12-14 22:13:23 +0100
commit54d3d4be308a61bc4986a16ceffd9164a84b3cf8 (patch)
treea526d05f7b89c4578ec50ad90f448c495f6444d8
parent7c05b881c5534520e978785ca6d27cad826fbc67 (diff)
downloadforums-54d3d4be308a61bc4986a16ceffd9164a84b3cf8.tar
forums-54d3d4be308a61bc4986a16ceffd9164a84b3cf8.tar.gz
forums-54d3d4be308a61bc4986a16ceffd9164a84b3cf8.tar.bz2
forums-54d3d4be308a61bc4986a16ceffd9164a84b3cf8.tar.xz
forums-54d3d4be308a61bc4986a16ceffd9164a84b3cf8.zip
[ticket/14358] Includes the composer autoloader in create_schema_files.php
PHPBB3-14358
-rw-r--r--phpBB/develop/create_schema_files.php1
1 files changed, 1 insertions, 0 deletions
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);