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_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;
     
    5151    $link = new SQLite3($db_file, $sqlite_open_mode);
    5252  } catch (Exception $e) {
    53     my_error('sqlite::open', true);
     53    my_error('sqlite::open', $die);
    5454  }
    5555
     
    6363
    6464  return $link;
     65}
     66
     67function pwg_select_db($database=null, $link=null, $die=null)
     68{
     69  return true;
    6570}
    6671
Note: See TracChangeset for help on using the changeset viewer.