summaryrefslogtreecommitdiff
path: root/web/lib/DB.class.php
AgeCommit message (Collapse)Author
2016-11-22these changes were sitting herepurweb/master0Luke Shumaker
2014-10-24Use an INI-style configuration fileLukas Fleischer
Replace web/lib/config.inc.php with an INI-style configuration file. This allows us to get rid of several globals and makes it easier to use the same configuration file in external scripts. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
2013-02-10Add database wrapper class and new connection methodcanyonknight
Uses the Singleton pattern to ensure all queries use the same database connection that is released upon script completion. All database connections should now be called with DB::connect() and not db_connect(). Signed-off-by: canyonknight <canyonknight@gmail.com> Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>