From: Tim Düsterhus Date: Wed, 22 Sep 2021 11:45:40 +0000 (+0200) Subject: Remove useless file_exists() check for composer autoloader in install.php X-Git-Tag: 5.5.0_Alpha_1~420 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b6f4e48c6d65106a0e8b5ab918805e148547814c;p=GitHub%2FWoltLab%2FWCF.git Remove useless file_exists() check for composer autoloader in install.php The autoloader must exist at that point. --- diff --git a/wcfsetup/install.php b/wcfsetup/install.php index d26d943a92..4bbda85e9b 100644 --- a/wcfsetup/install.php +++ b/wcfsetup/install.php @@ -1233,9 +1233,7 @@ if (!class_exists('wcf\system\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'); -} +require_once(TMP_DIR.'install/files/lib/system/api/autoload.php'); // start setup new \wcf\system\WCFSetup();