Changeset 34867 for trunk/src/wp-admin/setup-config.php
- Timestamp:
- 10/06/2015 02:19:17 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/setup-config.php
r33734 r34867 54 54 55 55 // Check if wp-config.php exists above the root directory but is not part of another install 56 if ( file_exists(ABSPATH . '../wp-config.php' ) && ! file_exists( ABSPATH . '../wp-settings.php' ) )56 if ( @file_exists( ABSPATH . '../wp-config.php' ) && ! @file_exists( ABSPATH . '../wp-settings.php' ) ) { 57 57 wp_die( '<p>' . sprintf( __( "The file 'wp-config.php' already exists one level above your WordPress installation. If you need to reset any of the configuration items in this file, please delete it first. You may try <a href='install.php'>installing now</a>."), 'install.php' ) . '</p>' ); 58 } 58 59 59 60 $step = isset( $_GET['step'] ) ? (int) $_GET['step'] : -1;
Note: See TracChangeset
for help on using the changeset viewer.