}
}
+# Load composer's autoloader if present
+if ( is_readable( "$IP/vendor/autoload.php" ) ) {
+ require_once "$IP/vendor/autoload.php";
+}
+
# Get MWInit class
require_once "$IP/includes/Init.php";
require_once MW_CONFIG_FILE;
}
-if ( $wgEnableSelenium ) {
- require_once "$IP/includes/SeleniumWebSettings.php";
-}
-
wfProfileOut( 'WebStart.php-conf' );
wfProfileIn( 'WebStart.php-ob_start' );