summaryrefslogtreecommitdiffstats
path: root/web/lib/gettext.php
diff options
context:
space:
mode:
authorMark Weiman <mark.weiman@markzz.com>2016-11-10 00:54:38 +0100
committerLukas Fleischer <lfleischer@archlinux.org>2016-11-10 18:31:20 +0100
commit6502518d4e190b92ce771389d437a001687950d0 (patch)
tree80c9e2933e85043a27599bb95b4a4146855c0eec /web/lib/gettext.php
parent3e442a0f7d49fc8eed45002841d84d9080473cc9 (diff)
downloadaur-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/gettext.php')
0 files changed, 0 insertions, 0 deletions