public function __construct($config = '')
{
if (!extension_loaded('mysqli')) {
//E(L('_NOT_SUPPERT_').':mysqli');
throw new Exception('mysqli 不支持');
}
if (!empty($config)) {
$this->config = $config;
if (empty($this->config['params'])) {
$this->config['params'] = '';
}
}
}