diff -r 299a90e28abc -r 87e08a6e4fec includes/dbal.php --- a/includes/dbal.php Thu Jan 03 18:39:19 2008 -0500 +++ b/includes/dbal.php Wed Jan 16 13:55:49 2008 -0500 @@ -163,14 +163,14 @@ define('scriptPath', $sp); define('contentPath', "$sp/index.php?title="); } - $loc = scriptPath . '/install.php'; + $loc = scriptPath . '/install/index.php'; define('IN_ENANO_INSTALL', 1); $GLOBALS['lang'] = new Language('eng'); global $lang; - $lang->load_file('./language/english/enano.json'); + $lang->load_file('./language/english/core.json'); $lang->load_file('./language/english/install.json'); // header("Location: $loc"); - redirect($loc, 'Enano not installed', 'We can\'t seem to find an Enano installation (valid config file). You will be transferred to the installation wizard momentarily...', 3); + redirect($loc, 'Enano not installed', 'We can\'t seem to find an Enano installation (valid config file). You will be transferred to the installation wizard momentarily...', 0); exit; } } @@ -179,10 +179,14 @@ unset($dbuser); unset($dbpasswd); // Security - if ( !$this->_conn ) + if ( !$this->_conn && !$manual_credentials ) { grinding_halt('Enano is having a problem', '
Error: couldn\'t connect to MySQL.
'.mysql_error().'
Error: couldn\'t connect to PostgreSQL.
'.pg_last_error().'