Fix from Kimmo/Craig

git-svn-id: http://svn.automattic.com/wordpress/trunk@2456 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
matt 2005-03-18 06:07:36 +00:00
parent 5b6f2a148c
commit 56933a4e6d
1 changed files with 1 additions and 1 deletions

View File

@ -303,7 +303,7 @@ function url_to_postid($url = '') {
function get_settings($setting) { function get_settings($setting) {
global $wpdb, $cache_settings, $cache_nonexistantoptions; global $wpdb, $cache_settings, $cache_nonexistantoptions;
if ( strstr($_SERVER['REQUEST_URI'], 'wp-admin/install.php') || constant('WP_INSTALLING') ) if ( strstr($_SERVER['REQUEST_URI'], 'wp-admin/install.php') || defined('WP_INSTALLING') )
return false; return false;
if ( empty($cache_settings) ) if ( empty($cache_settings) )