Ignore:
Timestamp:
Mar 21, 2010, 10:15:54 PM (14 years ago)
Author:
patdenice
Message:

feature 1255: add pwg_select_db function.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/dblayer/functions_pdo-sqlite.inc.php

    r5196 r5230  
    3434 */
    3535
    36 function pwg_db_connect($host, $user, $password, $database)
     36function pwg_db_connect($host, $user, $password, $database, $die=true)
    3737{
    3838  global $conf;
     
    4343    $link = new PDO($db_file);
    4444  } catch (Exception $e) {
    45     my_error('sqlite::open', true);
     45    my_error('sqlite::open', $die);
    4646  }
    4747
     
    5555
    5656  return $link;
     57}
     58
     59function pwg_select_db($database=null, $link=null, $die=null)
     60{
     61  return true;
    5762}
    5863
Note: See TracChangeset for help on using the changeset viewer.