// 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
$wgGitInfoCacheDirectory = "{$wgCacheDirectory}/gitinfo";
}
-if ( $wgEnableParserCache === false ) {
- $wgParserCacheType = CACHE_NONE;
-}
-
// Fix path to icon images after they were moved in 1.24
if ( $wgRightsIcon ) {
$wgRightsIcon = str_replace(