mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Correct the error message displayed on setup when wp-config-sample.php does not exist.
Props bradparbs. Fixes #23247. git-svn-id: https://develop.svn.wordpress.org/trunk@35143 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -46,7 +46,7 @@ if ( file_exists( ABSPATH . 'wp-config-sample.php' ) )
|
||||
elseif ( file_exists( dirname( ABSPATH ) . '/wp-config-sample.php' ) )
|
||||
$config_file = file( dirname( ABSPATH ) . '/wp-config-sample.php' );
|
||||
else
|
||||
wp_die( __( 'Sorry, I need a wp-config-sample.php file to work from. Please re-upload this file from your WordPress installation.' ) );
|
||||
wp_die( __( 'Sorry, I need a wp-config-sample.php file to work from. Please re-upload this file to your WordPress installation.' ) );
|
||||
|
||||
// Check if wp-config.php has been created
|
||||
if ( file_exists( ABSPATH . 'wp-config.php' ) )
|
||||
|
||||
Reference in New Issue
Block a user