Use installing variable (from Donncha)

git-svn-id: https://develop.svn.wordpress.org/trunk@2455 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg
2005-03-17 23:34:06 +00:00
parent 85c7025241
commit 5b52ad1017
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -303,7 +303,7 @@ function url_to_postid($url = '') {
function get_settings($setting) {
global $wpdb, $cache_settings, $cache_nonexistantoptions;
if ( strstr($_SERVER['REQUEST_URI'], 'wp-admin/install.php') )
if ( strstr($_SERVER['REQUEST_URI'], 'wp-admin/install.php') || constant('WP_INSTALLING') )
return false;
if ( empty($cache_settings) )