projects
/
pics.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Make RSS feed
[pics.git]
/
db.php
1
<
?php
2
3
function
get_db
(
$db_name
=
'pics.db'
) {
4
$db
=
new
SQLite3
(
$db_name
);
5
$db
->
exec
(
'PRAGMA journal_mode=WAL;'
);
6
return
$db
;
7
}
8