mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-05 23:27:04 +00:00
Upgrades should run faster now.
git-svn-id: https://develop.svn.wordpress.org/trunk@1229 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
$_wp_installing = 1;
|
||||
if (!file_exists('../wp-config.php')) die("There doesn't seem to be a wp-config.php file. Double check that you updated wp-config-sample.php with the proper database connection information and renamed it to wp-config.php.");
|
||||
require('../wp-config.php');
|
||||
timer_start();
|
||||
require('upgrade-functions.php');
|
||||
|
||||
$step = $_GET['step'];
|
||||
@@ -54,6 +55,15 @@ switch($step) {
|
||||
?>
|
||||
<h2>Step 1</h2>
|
||||
<p>There's actually only one step. So if you see this, you're done. <a href="../">Have fun</a>! </p>
|
||||
|
||||
<!--
|
||||
<pre>
|
||||
<?php echo $wpdb->num_queries; ?> queries
|
||||
|
||||
<?php timer_stop(1); ?> seconds
|
||||
</pre>
|
||||
-->
|
||||
|
||||
<?php
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user