From: Tim Düsterhus Date: Mon, 9 Nov 2020 12:00:02 +0000 (+0100) Subject: Fix WCFSetup X-Git-Tag: 5.4.0_Alpha_1~621 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a2b94f38c846efed40a1e51a957854f2c3418bdb;p=GitHub%2FWoltLab%2FWCF.git Fix WCFSetup --- diff --git a/wcfsetup/install.php b/wcfsetup/install.php index a5e55f737a..335dc8f952 100644 --- a/wcfsetup/install.php +++ b/wcfsetup/install.php @@ -1366,5 +1366,10 @@ if (!class_exists('wcf\system\WCFSetup')) { throw new SystemException("Cannot find class 'WCFSetup'"); } +// Composer autoloader +if (file_exists(TMP_DIR.'install/files/lib/system/api/autoload.php')) { + require_once(TMP_DIR.'install/files/lib/system/api/autoload.php'); +} + // start setup new \wcf\system\WCFSetup();