aurweb/web/lib
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
..
acctfuncs.inc.php Remove all usage of UNIX_TIMESTAMP in web interface 2016-11-10 18:31:20 +01:00
aur.inc.php Remove all usage of UNIX_TIMESTAMP in web interface 2016-11-10 18:31:20 +01:00
aurjson.class.php aurjson: Remove stray GROUP BY clause 2016-03-01 18:30:48 +01:00
cachefuncs.inc.php Remove unnecessary database connection parameter from all functions 2013-02-10 12:10:38 +01:00
confparser.inc.php Move configuration to /etc/aurweb/config 2016-10-17 15:13:05 +02:00
credentials.inc.php Add comment undeletion functionality 2016-01-23 11:50:03 +01:00
DB.class.php Fix DB.class.php to match config and include SQLite support 2016-11-10 18:31:20 +01:00
feedcreator.class.php Avoid use of "<b>"/"</b>" 2012-09-24 12:23:05 +02:00
gettext.php Rename constructors to __construct 2016-01-28 22:55:32 +01:00
pkgbasefuncs.inc.php Remove all usage of UNIX_TIMESTAMP in web interface 2016-11-10 18:31:20 +01:00
pkgfuncs.inc.php Add hard limit for the length of dependency lists 2016-06-26 08:53:55 +02:00
pkgreqfuncs.inc.php Remove all usage of UNIX_TIMESTAMP in web interface 2016-11-10 18:31:20 +01:00
routing.inc.php Move registration code to a separate unit 2015-06-27 13:04:03 +02:00
stats.inc.php Remove 'new' tag from updates table 2016-01-31 20:12:56 +01:00
streams.php Rename constructors to __construct 2016-01-28 22:55:32 +01:00
translator.inc.php Add Arabic translation 2015-06-27 13:04:03 +02:00
version.inc.php Release 4.4.1 2016-10-17 15:32:06 +02:00