require_once( "$IP/includes/DefaultSettings.php" );
$callback = MW_CONFIG_CALLBACK;
+ # PHP 5.1 doesn't support "class::method" for call_user_func, so split it
if ( strpos( $callback, '::' ) !== false ) {
$callback = explode( '::', $callback, 2);
}
# Include site settings. $IP may be changed (hopefully before the AutoLoader is invoked)
require_once( "$IP/LocalSettings.php" );
}
+
+if ( $wgEnableSelenium ) {
+ require_once( "$IP/includes/SeleniumWebSettings.php" );
+}
+
wfProfileOut( 'WebStart.php-conf' );
wfProfileIn( 'WebStart.php-ob_start' );
if ( !defined( 'MW_NO_SETUP' ) ) {
require_once( "$IP/includes/Setup.php" );
}
+