Ejemplo n.º 1
0
 static function setDBs()
 {
     global $dbs;
     self::$db_default = 'tatagtest';
     //override as needed
     if (isset($_GET['db']) and $_GET['db'] and SITE != 'live') {
         self::$db_default = $_GET['db'];
         unset($_GET['db']);
     }
     DBquery::init($dbs, array(self::$db_default));
 }