diff options
author | Mark Weiman <mark.weiman@markzz.com> | 2016-11-10 00:54:38 +0100 |
---|---|---|
committer | Lukas Fleischer <lfleischer@archlinux.org> | 2016-11-10 18:31:20 +0100 |
commit | 6502518d4e190b92ce771389d437a001687950d0 (patch) | |
tree | 80c9e2933e85043a27599bb95b4a4146855c0eec /web/lib/cachefuncs.inc.php | |
parent | 3e442a0f7d49fc8eed45002841d84d9080473cc9 (diff) | |
download | aur-6502518d4e190b92ce771389d437a001687950d0.tar.gz aur-6502518d4e190b92ce771389d437a001687950d0.tar.xz |
Fix DB.class.php to match config and include SQLite support
In commit baf8a22 (git-interface: Support SQLite as database backend,
2016-08-03), conf/config.proto was changed so that dsn_prefix was
changed to backend and this fixes this in web/lib/DB.class.php.
Since SQLite's dsn is different, this adds a check of which backend is
desired and will quit if MySQL or SQLite are not the backend selected.
SQLite2 may be supported, but is untested and will trigger an error if
used.
Signed-off-by: Mark Weiman <mark.weiman@markzz.com>
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'web/lib/cachefuncs.inc.php')
0 files changed, 0 insertions, 0 deletions