diff -r b251818286b1 -r dc6026376919 includes/common.php --- a/includes/common.php Tue Jan 22 01:08:15 2008 -0500 +++ b/includes/common.php Wed Jan 23 12:48:22 2008 -0500 @@ -154,7 +154,8 @@ // 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. -@include(ENANO_ROOT . '/config.php'); +$config_file = ( defined('IN_ENANO_INSTALL') ) ? '/config.new.php' : '/config.php'; +@include(ENANO_ROOT . $config_file); unset($dbuser, $dbpasswd); if ( !isset($dbdriver) ) $dbdriver = 'mysql';