Make WordPress Core

Changeset 3670 for trunk/wp-settings.php


Ignore:
Timestamp:
03/31/2006 08:07:39 AM (19 years ago)
Author:
ryan
Message:

Pluggable install functions. fixes #2616

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-settings.php

    r3639 r3670  
    120120require_once (ABSPATH . WPINC . '/wp-l10n.php');
    121121
    122 $wpdb->hide_errors();
    123 $db_check = $wpdb->get_var("SELECT option_value FROM $wpdb->options WHERE option_name = 'siteurl'");
    124 if ( !$db_check && (!strstr($_SERVER['PHP_SELF'], 'install.php') && !defined('WP_INSTALLING')) ) {
     122if ( !is_blog_installed() && (!strstr($_SERVER['PHP_SELF'], 'install.php') && !defined('WP_INSTALLING')) ) {
    125123    if ( strstr($_SERVER['PHP_SELF'], 'wp-admin') )
    126124        $link = 'install.php';
Note: See TracChangeset for help on using the changeset viewer.