From 171fa8fabdd6ae2df50050e4de6a64df250cdcce Mon Sep 17 00:00:00 2001 From: ryan Date: Tue, 29 Mar 2005 05:06:10 +0000 Subject: [PATCH] And not or when checking if installing. Props: donncha git-svn-id: http://svn.automattic.com/wordpress/trunk@2486 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-settings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-settings.php b/wp-settings.php index 995636d5b..f1672ec56 100644 --- a/wp-settings.php +++ b/wp-settings.php @@ -69,7 +69,7 @@ require (ABSPATH . WPINC . '/default-filters.php'); require_once (ABSPATH . WPINC . '/wp-l10n.php'); $wpdb->hide_errors(); -if ( !update_user_cache() && (!strstr($_SERVER['PHP_SELF'], 'install.php') || !defined('WP_INSTALLING')) ) { +if ( !update_user_cache() && (!strstr($_SERVER['PHP_SELF'], 'install.php') && !defined('WP_INSTALLING')) ) { if ( strstr($_SERVER['PHP_SELF'], 'wp-admin') ) $link = 'install.php'; else