Fix WCFSetup
authorTim Düsterhus <duesterhus@woltlab.com>
Mon, 9 Nov 2020 12:00:02 +0000 (13:00 +0100)
committerTim Düsterhus <duesterhus@woltlab.com>
Mon, 9 Nov 2020 12:00:02 +0000 (13:00 +0100)
wcfsetup/install.php

index a5e55f737a792e5c9f302df5ebfe5bed42ffb18b..335dc8f95284d7f1582316ecf8c2630f300e24dc 100644 (file)
@@ -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();