dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
ad49bb2
)
Merge "Improve error handling for wrong autoloader permissions"
author
jenkins-bot
<jenkins-bot@gerrit.wikimedia.org>
Wed, 6 Feb 2019 01:12:51 +0000
(
01:12
+0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Wed, 6 Feb 2019 01:12:51 +0000
(
01:12
+0000)
includes/Setup.php
patch
|
blob
|
history
diff --git
a/includes/Setup.php
b/includes/Setup.php
index
23342e9
..
516937e
100644
(file)
--- a/
includes/Setup.php
+++ b/
includes/Setup.php
@@
-67,6
+67,8
@@
require_once "$IP/includes/GlobalFunctions.php";
// Load composer's autoloader if present
if ( is_readable( "$IP/vendor/autoload.php" ) ) {
require_once "$IP/vendor/autoload.php";
+} elseif ( file_exists( "$IP/vendor/autoload.php" ) ) {
+ die( "$IP/vendor/autoload.php exists but is not readable" );
}
// Assert that composer dependencies were successfully loaded