diff -r -x .svn 2_3_2/wp-admin/admin-ajax.php 2_3_2_chip/wp-admin/admin-ajax.php
2c2,4
< require_once('../wp-config.php');
---
> $config_path = dirname($_SERVER["SCRIPT_FILENAME"]) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'wp-config.php';
> require_once($config_path);
> 
diff -r -x .svn 2_3_2/wp-admin/admin.php 2_3_2_chip/wp-admin/admin.php
4,7c4,5
< if ( defined('ABSPATH') )
< 	require_once( ABSPATH . 'wp-config.php');
< else
<     require_once('../wp-config.php');
---
> $config_path = dirname($_SERVER["SCRIPT_FILENAME"]) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'wp-config.php';
> require_once($config_path);
diff -r -x .svn 2_3_2/wp-admin/upgrade.php 2_3_2_chip/wp-admin/upgrade.php
3c3,8
< if (!file_exists('../wp-config.php'))
---
> 
> $path = dirname($_SERVER["SCRIPT_FILENAME"]);
> $pathinfo = pathinfo($path);
> $config_path = $pathinfo['dirname'] . DIRECTORY_SEPARATOR . 'wp-config.php';
> 
> if (!file_exists($config_path))
6c11
< require('../wp-config.php');
---
> require($config_path);
diff -r -x .svn 2_3_2/wp-blog-header.php 2_3_2_chip/wp-blog-header.php
1a2
> $config_path = dirname($_SERVER["SCRIPT_FILENAME"]) . DIRECTORY_SEPARATOR . 'wp-config.php';
4c5
< if ( !file_exists( dirname(__FILE__) . '/wp-config.php') ) {
---
> if ( !file_exists($config_path) ) {
16c17
< require_once( dirname(__FILE__) . '/wp-config.php');
---
> require_once($config_path);
diff -r -x .svn 2_3_2/wp-includes/js/tinymce/tiny_mce_config.php 2_3_2_chip/wp-includes/js/tinymce/tiny_mce_config.php
2c2,4
< 	@ require('../../../wp-config.php');
---
> 	$config_path = dirname($_SERVER["SCRIPT_FILENAME"]) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'wp-config.php';
> 	require_once($config_path);
> 
diff -r -x .svn 2_3_2/wp-includes/js/tinymce/tiny_mce_gzip.php 2_3_2_chip/wp-includes/js/tinymce/tiny_mce_gzip.php
13c13,14
< 	@require_once('../../../wp-config.php');  // For get_bloginfo().
---
> 	$config_path = dirname($_SERVER["SCRIPT_FILENAME"]) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'wp-config.php';
> 	require_once($config_path);  // For get_bloginfo().
diff -r -x .svn 2_3_2/wp-login.php 2_3_2_chip/wp-login.php
2c2,3
< require( dirname(__FILE__) . '/wp-config.php' );
---
> $config_path = dirname($_SERVER["SCRIPT_FILENAME"]) . DIRECTORY_SEPARATOR . 'wp-config.php';
> require($config_path);
