Upgrade to sqlite3

This commit is contained in:
sandbender
2010-11-14 00:15:26 +01:00
parent 5098db94eb
commit 95d8ede9ac
5 changed files with 17 additions and 19 deletions

View File

@@ -4,7 +4,7 @@ require_once("config.php");
function get_db() {
static $db = NULL;
if ($db == NULL) {
$db = sqlite_open(SQLITE_DB);
$db = new SQLite3(SQLITE_DB);
}
return $db;
}