<?php
define( 'WP_INSTALLING', true );
require dirname( __DIR__ ) . '/wp-load.php';
nocache_headers();
require_once ABSPATH . 'wp-admin/includes/upgrade.php';
delete_site_transient( 'update_core' );
if ( isset( $_GET['step'] ) ) {
$step = $_GET['step'];
} else {
$step = 0;
}
if ( 'upgrade_db' === $step ) {
wp_upgrade();
die( '0' );
}
global $wp_version, $required_php_version, $required_mysql_version, $wpdb;