Beispiel #1
0
 private function setDBConn($db)
 {
     if (!isset($this->connections[$db])) {
         if ($this->getUseMysqliExtend()) {
             $this->connections[$db] = cls_sqlexecute::getInstance($db, $this->config_array);
         } else {
             $this->connections[$db] = cls_pdosqlexecute::getInstance($db, $this->config_array);
         }
     }
 }