]>
Commit | Line | Data |
---|---|---|
1b489482 ER |
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 | |
3 | @@ -21,7 +21,12 @@ | |
4 | ||
5 | error_reporting(E_ALL ^ E_NOTICE ^ E_USER_NOTICE); | |
6 | ||
7 | -if ( file_exists( ABSPATH . 'wp-config.php') ) { | |
8 | +if ( file_exists( '/etc/webapps/wordpress/wp-config.php') ) { | |
9 | + | |
10 | + /** The config file resides in WEBAPPS */ | |
11 | + require_once( '/etc/webapps/wordpress/wp-config.php' ); | |
12 | + | |
13 | +} elseif ( file_exists( ABSPATH . 'wp-config.php') ) { | |
14 | ||
15 | /** The config file resides in ABSPATH */ | |
16 | require_once( ABSPATH . 'wp-config.php' ); | |
3a28a4d4 ER |
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 | |
19 | @@ -275,7 +275,7 @@ | |
20 | </script> | |
b1489107 RT |
21 | <?php |
22 | else : | |
23 | - $handle = fopen(ABSPATH . 'wp-config.php', 'w'); | |
24 | + $handle = fopen(ABSPATH . '/etc/webapps/wordpress/wp-config.php', 'w'); | |
3a28a4d4 | 25 | foreach( $config_file as $line ) { |
b1489107 | 26 | fwrite($handle, $line); |
1b489482 | 27 | } |
bbcdc79a ER |
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 | |
30 | @@ -16,13 +16,13 @@ | |
31 | ||
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'); | |
36 | ||
37 | /** MySQL database username */ | |
38 | -define('DB_USER', 'username_here'); | |
39 | +define('DB_USER', 'mysql'); | |
40 | ||
41 | /** MySQL database password */ | |
42 | -define('DB_PASSWORD', 'password_here'); | |
43 | +define('DB_PASSWORD', ''); | |
44 | ||
45 | /** MySQL hostname */ | |
46 | define('DB_HOST', 'localhost'); |