configuration and settings store in dastabase

This commit is contained in:
xiaomlove
2021-01-11 22:00:46 +08:00
parent 2c25293d9b
commit 7373ec16e8
10 changed files with 226 additions and 88 deletions

View File

@@ -47,6 +47,7 @@ class DB
try {
return $this->driver->query($sql);
} catch (\Exception $e) {
do_log(sprintf("%s [%s] %s", $e->getMessage(), $sql, $e->getTraceAsString()));
throw new \DatabaseException($sql, $e->getMessage());
}