芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/lugarcollectibles.com/system/library/db.php
adaptor = new $class($hostname, $username, $password, $database, $port); } else { throw new \Exception('Error: Could not load database adaptor ' . $adaptor . '!'); } } /** * * * @param string $sql * * @return array */ public function query($sql) { return $this->adaptor->query($sql); } /** * * * @param string $value * * @return string */ public function escape($value) { return $this->adaptor->escape($value); } /** * * * @return int */ public function countAffected() { return $this->adaptor->countAffected(); } /** * * * @return int */ public function getLastId() { return $this->adaptor->getLastId(); } /** * * * @return bool */ public function connected() { return $this->adaptor->connected(); } }