From a2b94f38c846efed40a1e51a957854f2c3418bdb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Mon, 9 Nov 2020 13:00:02 +0100 Subject: [PATCH] Fix WCFSetup --- wcfsetup/install.php | 5 +++++ 1 file changed, 5 insertions(+) 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(); -- 2.20.1