From 8ac3b938fde2ccd7719ac1c22ef5460b35298d78 Mon Sep 17 00:00:00 2001 From: Habeas Codice Date: Sat, 22 Nov 2014 13:27:52 -0800 Subject: added dbdriver to siteinfo json to better track affected sites --- include/dba/dba_driver.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/dba/dba_driver.php') diff --git a/include/dba/dba_driver.php b/include/dba/dba_driver.php index a62a5e6e2..4a0f5e37b 100755 --- a/include/dba/dba_driver.php +++ b/include/dba/dba_driver.php @@ -104,6 +104,12 @@ abstract class dba_driver { */ abstract function close(); + /** + * @brief Return text name for db driver + * + * This abstract function needs to be implemented in the real driver. + */ + abstract function getdriver(); function __construct($server, $port, $user,$pass,$db,$install = false) { if(($install) && (! $this->install($server, $port, $user, $pass, $db))) { -- cgit v1.2.3