And not or when checking if installing. Props: donncha

git-svn-id: http://svn.automattic.com/wordpress/trunk@2486 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2005-03-29 05:06:10 +00:00
parent 97504fef96
commit 171fa8fabd
1 changed files with 1 additions and 1 deletions

View File

@ -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