// Some other requires
require_once "$IP/includes/Defines.php";
require_once "$IP/includes/DefaultSettings.php";
+require_once "$IP/includes/GlobalFunctions.php";
# Load composer's autoloader if present
if ( is_readable( "$IP/vendor/autoload.php" ) ) {
$factory = wfGetLBFactory();
$factory->commitMasterChanges();
$factory->shutdown();
-} catch ( MWException $mwe ) {
+} catch ( Exception $mwe ) {
echo $mwe->getText();
exit( 1 );
}