Changeset 5230 for trunk/include/dblayer/functions_sqlite.inc.php
- Timestamp:
- Mar 21, 2010, 10:15:54 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/dblayer/functions_sqlite.inc.php
r5196 r5230 34 34 */ 35 35 36 function pwg_db_connect($host, $user, $password, $database )36 function pwg_db_connect($host, $user, $password, $database, $die=true) 37 37 { 38 38 global $conf; … … 51 51 $link = new SQLite3($db_file, $sqlite_open_mode); 52 52 } catch (Exception $e) { 53 my_error('sqlite::open', true);53 my_error('sqlite::open', $die); 54 54 } 55 55 … … 63 63 64 64 return $link; 65 } 66 67 function pwg_select_db($database=null, $link=null, $die=null) 68 { 69 return true; 65 70 } 66 71
Note: See TracChangeset
for help on using the changeset viewer.