Make WordPress Core

Changeset 1184 for trunk/wp-settings.php


Ignore:
Timestamp:
04/26/2004 07:18:25 PM (21 years ago)
Author:
saxmatt
Message:

More query reduction.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-settings.php

    r1097 r1184  
    2929
    3030$wpdb->hide_errors();
    31 if (!$wpdb->get_row("SELECT * FROM $tableusers LIMIT 1") && !strstr($_SERVER['REQUEST_URI'], 'install.php')) {
     31$users = $wpdb->get_results("SELECT * FROM $tableusers");
     32if (!$users && !strstr($_SERVER['REQUEST_URI'], 'install.php')) {
    3233    die("It doesn't look like you've installed WP yet. Try running <a href='wp-admin/install.php'>install.php</a>.");
    3334}
Note: See TracChangeset for help on using the changeset viewer.