diff -r c522ea3871a3 -r e271ae801c62 includes/common_cli.php --- a/includes/common_cli.php Mon Nov 30 22:35:14 2009 -0500 +++ b/includes/common_cli.php Tue Dec 01 00:27:26 2009 -0500 @@ -30,7 +30,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('ENANO_INSTALLED') ) ? '/config.new.php' : '/config.php'; @include(ENANO_ROOT . $config_file); unset($dbuser, $dbpasswd); if ( !isset($dbdriver) )