And not or when checking if installing. Props: donncha

git-svn-id: https://develop.svn.wordpress.org/trunk@2486 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2005-03-29 05:06:10 +00:00
parent 198665bef2
commit 4252fbeab2
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