equal
deleted
inserted
replaced
197 $this->debug = ( defined('ENANO_DEBUG') ); |
197 $this->debug = ( defined('ENANO_DEBUG') ); |
198 |
198 |
199 $q = $this->sql_query('USE `'.$dbname.'`;'); |
199 $q = $this->sql_query('USE `'.$dbname.'`;'); |
200 |
200 |
201 if ( !$q ) |
201 if ( !$q ) |
|
202 { |
|
203 if ( $manual_credentials ) |
|
204 return false; |
202 $this->_die('The database could not be selected.'); |
205 $this->_die('The database could not be selected.'); |
|
206 } |
203 |
207 |
204 // We're in! |
208 // We're in! |
205 $this->disable_errorhandler(); |
209 $this->disable_errorhandler(); |
206 return true; |
210 return true; |
207 } |
211 } |