added dbdriver to siteinfo json to better track affected sites

This commit is contained in:
Habeas Codice
2014-11-22 13:27:52 -08:00
parent ab5bf1b7d6
commit 8ac3b938fd
5 changed files with 21 additions and 1 deletions

View File

@@ -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))) {