*** wp-load.php.bad	2010-06-04 13:00:30.000000000 +0200
--- wp-load.php	2010-06-04 13:02:09.000000000 +0200
***************
*** 29,38 ****
  	/** The config file resides in ABSPATH */
  	require_once( ABSPATH . 'wp-config.php' );
  
! } elseif ( file_exists( dirname(ABSPATH) . '/wp-config.php' ) && ! file_exists( dirname(ABSPATH) . '/wp-settings.php' ) ) {
  
  	/** The config file resides one level above ABSPATH but is not part of another install*/
! 	require_once( dirname(ABSPATH) . '/wp-config.php' );
  
  } else {
  
--- 29,38 ----
  	/** The config file resides in ABSPATH */
  	require_once( ABSPATH . 'wp-config.php' );
  
! } elseif ( file_exists( ABSPATH . 'wp-config.php' ) && ! file_exists( ABSPATH . 'wp-settings.php' ) ) {
  
  	/** The config file resides one level above ABSPATH but is not part of another install*/
! 	require_once( ABSPATH . 'wp-config.php' );
  
  } else {
  
