Changeset 676
- Timestamp:
- 01/01/2004 07:09:15 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-settings.php
r672 r676 22 22 23 23 $wpdb->hide_errors(); 24 if (!$wpdb->get_row("SELECT * FROM $tableoptions LIMIT 1") && !strstr($ REQUEST_URI, 'install.php')) {24 if (!$wpdb->get_row("SELECT * FROM $tableoptions LIMIT 1") && !strstr($HTTP_SERVER_VARS['REQUEST_URI'], 'install.php')) { 25 25 die("It doesn't look like you've installed WP yet. Try running <a href='wp-admin/install.php'>install.php</a>."); 26 26 } … … 42 42 // get_settings() wherever these are needed OR 43 43 // accessing a single global $all_settings var 44 if (!strstr($ REQUEST_URI, 'install.php')) {44 if (!strstr($HTTP_SERVER_VARS['REQUEST_URI'], 'install.php')) { 45 45 $siteurl = get_settings('siteurl'); 46 46 // "When trying to design a foolproof system,
Note: See TracChangeset
for help on using the changeset viewer.