Check WP_INSTALLING when setting cookiehash. Props DD32. fixes #6990

git-svn-id: http://svn.automattic.com/wordpress/trunk@7947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-05-18 20:06:31 +00:00
parent 0a0216a765
commit b8654e4cdf
1 changed files with 1 additions and 1 deletions

View File

@ -268,7 +268,7 @@ require (ABSPATH . WPINC . '/canonical.php');
require (ABSPATH . WPINC . '/shortcodes.php'); require (ABSPATH . WPINC . '/shortcodes.php');
require (ABSPATH . WPINC . '/media.php'); require (ABSPATH . WPINC . '/media.php');
if (strpos($_SERVER['PHP_SELF'], 'install.php') === false) { if ( ! defined('WP_INSTALLING') ) {
// Used to guarantee unique hash cookies // Used to guarantee unique hash cookies
$cookiehash = md5(get_option('siteurl')); $cookiehash = md5(get_option('siteurl'));
/** /**