1 --- wordpress/wp-load.php~ 2009-03-20 10:38:16.000000000 +0200
2 +++ wordpress/wp-load.php 2009-03-20 10:40:16.081599269 +0200
5 error_reporting(E_ALL ^ E_NOTICE ^ E_USER_NOTICE);
7 -if ( file_exists( ABSPATH . 'wp-config.php') ) {
8 +if ( file_exists( '/etc/webapps/wordpress/wp-config.php') ) {
10 + /** The config file resides in WEBAPPS */
11 + require_once( '/etc/webapps/wordpress/wp-config.php' );
13 +} elseif ( file_exists( ABSPATH . 'wp-config.php') ) {
15 /** The config file resides in ABSPATH */
16 require_once( ABSPATH . 'wp-config.php' );
17 --- wordpress-3.5.1/wp-admin/setup-config.php~ 2013-02-06 16:21:34.000000000 +0200
18 +++ wordpress-3.5.1/wp-admin/setup-config.php 2013-02-06 16:22:14.098004158 +0200
23 - $handle = fopen(ABSPATH . 'wp-config.php', 'w');
24 + $handle = fopen(ABSPATH . '/etc/webapps/wordpress/wp-config.php', 'w');
25 foreach( $config_file as $line ) {
26 fwrite($handle, $line);
28 --- wordpress-3.0.1/wp-config.php~ 2010-09-08 12:02:37.000000000 +0300
29 +++ wordpress-3.0.1/wp-config.php 2010-09-08 12:05:20.193097026 +0300
32 // ** MySQL settings - You can get this info from your web host ** //
33 /** The name of the database for WordPress */
34 -define('DB_NAME', 'database_name_here');
35 +define('DB_NAME', 'wordpress');
37 /** MySQL database username */
38 -define('DB_USER', 'username_here');
39 +define('DB_USER', 'mysql');
41 /** MySQL database password */
42 -define('DB_PASSWORD', 'password_here');
43 +define('DB_PASSWORD', '');
46 define('DB_HOST', 'localhost');