Upgrade to sqlite3
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user