aurweb/web
Mark Weiman 6502518d4e 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>
2016-11-10 18:31:20 +01:00
..
html Add clone hints to 404 error pages 2016-10-08 14:13:51 +02:00
lib Fix DB.class.php to match config and include SQLite support 2016-11-10 18:31:20 +01:00
locale Add dummy "web/locale/" directory. 2011-04-10 15:40:49 +02:00
template Do not show current day if registration date is unknown 2016-10-17 14:58:37 +02:00