projects
/
GitHub
/
WoltLab
/
WCF.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7cb8532
)
Remove useless file_exists() check for composer autoloader in install.php
author
Tim Düsterhus
<duesterhus@woltlab.com>
Wed, 22 Sep 2021 11:45:40 +0000
(13:45 +0200)
committer
Tim Düsterhus
<duesterhus@woltlab.com>
Wed, 22 Sep 2021 11:45:40 +0000
(13:45 +0200)
The autoloader must exist at that point.
wcfsetup/install.php
patch
|
blob
|
blame
|
history
diff --git
a/wcfsetup/install.php
b/wcfsetup/install.php
index d26d943a92d2290a6fbd19fb4546f187722623a0..4bbda85e9b7b9a6f5b67456083d3cda848d8f8ad 100644
(file)
--- 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();