Changeset 985

Show
Ignore:
Timestamp:
08/27/08 08:15:17 (3 months ago)
Author:
areski
Message:

change from mysql to mysqli

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/common/lib/admin.defines.php

    r955 r985  
    161161                $datasource = 'pgsql://'.USER.':'.PASS.'@'.HOST.'/'.DBNAME; 
    162162        }else{ 
    163                 $datasource = 'mysql://'.USER.':'.PASS.'@'.HOST.'/'.DBNAME; 
     163                $datasource = 'mysqli://'.USER.':'.PASS.'@'.HOST.'/'.DBNAME; 
    164164        } 
    165165         
  • trunk/common/lib/Class.A2Billing.php

    r981 r985  
    25562556                        $datasource = 'pgsql://'.$this->config['database']['user'].':'.$this->config['database']['password'].'@'.$this->config['database']['hostname'].'/'.$this->config['database']['dbname']; 
    25572557                }else{ 
    2558                         $datasource = 'mysql://'.$this->config['database']['user'].':'.$this->config['database']['password'].'@'.$this->config['database']['hostname'].'/'.$this->config['database']['dbname']; 
     2558                        $datasource = 'mysqli://'.$this->config['database']['user'].':'.$this->config['database']['password'].'@'.$this->config['database']['hostname'].'/'.$this->config['database']['dbname']; 
    25592559                } 
    25602560                $this->DBHandle = NewADOConnection($datasource); 


Google