Changeset 2455
- Timestamp:
- 03/17/2005 11:34:06 PM (19 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/install.php
r2437 r2455 1 1 <?php 2 $_wp_installing = 1;2 define('WP_INSTALLING', true); 3 3 if (!file_exists('../wp-config.php')) 4 4 die("There doesn't seem to be a <code>wp-config.php</code> file. I need this before we can get started. Need more help? <a href='http://wordpress.org/docs/faq/#wp-config'>We got it</a>. You can <a href='setup-config.php'>create a <code>wp-config.php</code> file through a web interface</a>, but this doesn't work for all server setups. The safest way is to manually create the file."); -
trunk/wp-admin/setup-config.php
r2271 r2455 1 1 <?php 2 $_wp_installing = 1;2 define('WP_INSTALLING', true); 3 3 4 4 if (file_exists('../wp-config.php')) -
trunk/wp-admin/upgrade.php
r2391 r2455 1 1 <?php 2 $_wp_installing = 1;2 define('WP_INSTALLING', true); 3 3 if (!file_exists('../wp-config.php')) die("There doesn't seem to be a wp-config.php file. Double check that you updated wp-config-sample.php with the proper database connection information and renamed it to wp-config.php."); 4 4 require('../wp-config.php'); -
trunk/wp-includes/functions.php
r2437 r2455 304 304 function get_settings($setting) { 305 305 global $wpdb, $cache_settings, $cache_nonexistantoptions; 306 if ( strstr($_SERVER['REQUEST_URI'], 'wp-admin/install.php') )306 if ( strstr($_SERVER['REQUEST_URI'], 'wp-admin/install.php') || constant('WP_INSTALLING') ) 307 307 return false; 308 308
Note: See TracChangeset
for help on using the changeset viewer.