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:
parent
7cb8fc1b3b
commit
a15ff7d800
@ -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' ) )
|
||||
|
Loading…
Reference in New Issue
Block a user