Changeset 6239

Show
Ignore:
Timestamp:
07/31/08 15:05:47 (4 months ago)
Author:
p_lindheimer
Message:

make sure options is defined to avoid warnings, ref r6230

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • freepbx/trunk/amp_conf/htdocs/admin/cdr/lib/defines.php

    r6237 r6239  
    4545function DbConnect() 
    4646{ 
     47        $options = array(); 
    4748  if (DB_TYPE == "postgres") 
    4849    {  
     
    7071      $datasource = DB_TYPE.'://'.USER.':'.PASS.'@'.HOST.'/'.DBNAME; 
    7172    } 
    72   if($options
     73  if(!empty($options)
    7374    $db = DB::connect($datasource,$options); // attempt connection with options (sqlite3) 
    7475   else 
Donate



Support
Download
Develop
Forums
News
Documentation
Paid Support
About

Paid Ads