includes/common_cli.php
changeset 1143 e271ae801c62
parent 1099 73abd46f5148
child 1202 5d63267470cd
--- 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) )