Changeset 1402 for trunk/wp-load.php
- Timestamp:
- 07/28/08 15:11:07 (4 months ago)
- Files:
-
- trunk/wp-load.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-load.php
r1336 r1402 37 37 38 38 // Set a path for the link to the installer 39 if (strpos($_SERVER['PHP_SELF'], 'wp-admin') !== false) $path = ' ';40 else $path = ' wp-admin/';39 if (strpos($_SERVER['PHP_SELF'], 'wp-admin') !== false) $path = '../'; 40 else $path = ''; 41 41 42 42 // Die with an error message … … 44 44 require_once( ABSPATH . '/wp-includes/functions.php' ); 45 45 require_once( ABSPATH . '/wp-includes/plugin.php' ); 46 wp_die(sprintf(/*WP_I18N_NO_CONFIG*/"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://codex.wordpress.org/Editing_wp-config.php'>We got it</a>. You can create a <code>wp-config.php</code> file through a web interface, but this doesn't work for all server setups. The safest way is to manually create the file.</p><p><a href='%ssetup-config.php' class='button'>Create a Configuration File</a>"/*/WP_I18N_NO_CONFIG*/, $path), /*WP_I18N_ERROR_TITLE*/"WordPress › Error"/*/WP_I18N_ERROR_TITLE*/);46 wp_die(sprintf(/*WP_I18N_NO_CONFIG*/"There doesn't seem to be a <code>wp-config.php</code> file. I need this before we can get started.<p><a href='%sindex.php' class='button'>Create a Configuration File</a>"/*/WP_I18N_NO_CONFIG*/, $path), /*WP_I18N_ERROR_TITLE*/"WordPress › Error"/*/WP_I18N_ERROR_TITLE*/); 47 47 48 48 }
