Changeset 1401 for trunk/wp-settings.php
- Timestamp:
- 06/10/2004 08:42:25 AM (22 years ago)
- File:
-
- 1 edited
-
trunk/wp-settings.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-settings.php
r1377 r1401 48 48 49 49 50 $wpdb->hide_errors();51 $users = $wpdb->get_results("SELECT * FROM $wpdb->users");52 if ( !$users && !strstr($_SERVER['PHP_SELF'], 'install.php') )53 die("It doesn't look like you've installed WP yet. Try running <a href='wp-admin/install.php'>install.php</a>.");54 $wpdb->show_errors();55 56 50 require (ABSPATH . WPINC . '/functions.php'); 57 51 require (ABSPATH . WPINC . '/functions-formatting.php'); … … 60 54 require (ABSPATH . WPINC . '/kses.php'); 61 55 require_once (ABSPATH . WPINC . '/wp-l10n.php'); 56 57 $wpdb->hide_errors(); 58 if ( !update_user_cache() && !strstr($_SERVER['PHP_SELF'], 'install.php') ) 59 die("It doesn't look like you've installed WP yet. Try running <a href='wp-admin/install.php'>install.php</a>."); 60 $wpdb->show_errors(); 62 61 63 62 if (!strstr($_SERVER['PHP_SELF'], 'install.php') && !strstr($_SERVER['PHP_SELF'], 'wp-admin/import')) {
Note: See TracChangeset
for help on using the changeset viewer.