includes/dbal.php
changeset 973 451141c834fe
parent 953 323c4cd1aa37
child 1081 745200a9cc2a
equal deleted inserted replaced
972:437f2505d340 973:451141c834fe
   230     $this->query_sources = array();
   230     $this->query_sources = array();
   231     $this->num_queries = 0;
   231     $this->num_queries = 0;
   232     
   232     
   233     $this->debug = ( defined('ENANO_DEBUG') );
   233     $this->debug = ( defined('ENANO_DEBUG') );
   234     
   234     
   235     $q = $this->sql_query('USE `'.$dbname.'`;');
   235     $q = @mysql_select_db($dbname);
   236     
   236     
   237     if ( !$q )
   237     if ( !$q )
   238     {
   238     {
   239       if ( $manual_credentials )
   239       if ( $manual_credentials )
   240         return false;
   240         return false;