open($file); } } $db = new SQLite3($path["db"]); if(!$db) { error_log($db->lastErrorMsg()); } else { return $db; } } ?>