Changeset 1219 for trunk/wp-settings.php
- Timestamp:
- 05/01/2004 07:55:00 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-settings.php
r1190 r1219 32 32 $wpdb->hide_errors(); 33 33 $users = $wpdb->get_results("SELECT * FROM $tableusers"); 34 if (!$users && !strstr($_SERVER[' REQUEST_URI'], 'install.php')) {34 if (!$users && !strstr($_SERVER['PHP_SELF'], 'install.php')) { 35 35 die("It doesn't look like you've installed WP yet. Try running <a href='wp-admin/install.php'>install.php</a>."); 36 36 } … … 44 44 require_once (ABSPATH . WPINC . '/wp-l10n.php'); 45 45 46 if (!strstr($_SERVER[' REQUEST_URI'], 'install.php') && !strstr($_SERVER['REQUEST_URI'], 'wp-admin/import')) {46 if (!strstr($_SERVER['PHP_SELF'], 'install.php') && !strstr($_SERVER['PHP_SELF'], 'wp-admin/import')) { 47 47 48 48 $querystring_start = '?'; … … 64 64 } 65 65 66 if (!strstr($_SERVER[' REQUEST_URI'], 'wp-admin/plugins.php') && get_settings('active_plugins')) {66 if (!strstr($_SERVER['PHP_SELF'], 'wp-admin/plugins.php') && get_settings('active_plugins')) { 67 67 $current_plugins = explode("\n", (get_settings('active_plugins'))); 68 68 foreach ($current_plugins as $plugin) {
Note: See TracChangeset
for help on using the changeset viewer.