diff -r 5daef5ddc08c -r 774ae986fded includes/common.php --- a/includes/common.php Fri Dec 18 21:49:48 2009 -0500 +++ b/includes/common.php Fri Dec 18 22:00:02 2009 -0500 @@ -208,7 +208,7 @@ // even be installed. If this connection attempt fails and it's because of a missing or corrupt config file, the // user will be redirected (intelligently) to install.php. -$config_file = ( defined('IN_ENANO_INSTALL') ) ? '/config.new.php' : '/config.php'; +$config_file = ( defined('IN_ENANO_INSTALL') && !defined('IN_ENANO_UPGRADE') ) ? '/config.new.php' : '/config.php'; @include(ENANO_ROOT . $config_file); unset($dbuser, $dbpasswd); if ( !isset($dbdriver) )