forked from GithubBackups/tinyib
parent
8ae3519076
commit
75af600f7f
@ -12,6 +12,8 @@ if (!$db) {
|
|||||||
fancyDie("Could not connect to database: " . $db->lastErrorMsg());
|
fancyDie("Could not connect to database: " . $db->lastErrorMsg());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$db->busyTimeout(60000);
|
||||||
|
|
||||||
// Create tables (when necessary)
|
// Create tables (when necessary)
|
||||||
$result = $db->query("SELECT name FROM sqlite_master WHERE type='table' AND name='" . TINYIB_DBACCOUNTS . "'");
|
$result = $db->query("SELECT name FROM sqlite_master WHERE type='table' AND name='" . TINYIB_DBACCOUNTS . "'");
|
||||||
if (!$result->fetchArray()) {
|
if (!$result->fetchArray()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user