]> git.pld-linux.org Git - packages/wordpress.git/blob - configpath.patch
- drop obsolete and outdated manual inclusion of rpm macros
[packages/wordpress.git] / configpath.patch
1 --- wordpress-3.5.1/wp-admin/setup-config.php~  2013-02-06 16:10:02.000000000 +0200
2 +++ wordpress-3.5.1/wp-admin/setup-config.php   2013-02-06 16:11:57.583090884 +0200
3 @@ -68,7 +68,7 @@
4  $config_file = file(ABSPATH . 'wp-config-sample.php');
5  
6  // Check if wp-config.php has been created
7 -if ( file_exists( ABSPATH . 'wp-config.php' ) )
8 +if ( file_exists( ABSPATH . 'wp-config.php' ) && filesize( ABSPATH . 'wp-config.php' ) )
9         wp_die( '<p>' . sprintf( __( "The file 'wp-config.php' already exists. If you need to reset any of the configuration items in this file, please delete it first. You may try <a href='%s'>installing now</a>." ), 'install.php' ) . '</p>' );
10  
11  // Check if wp-config.php exists above the root directory but is not part of another install
This page took 0.056363 seconds and 3 git commands to generate.