mirror of
https://github.com/vrana/adminer.git
synced 2025-08-18 12:21:24 +02:00
Added pdo_dblib as a driver for MSSQL (as native MSSQL driver does not exist for PHP7)
This commit is contained in:
@@ -19,7 +19,7 @@ if (extension_loaded('pdo')) {
|
||||
auth_error($ex->getMessage());
|
||||
}
|
||||
$this->setAttribute(13, array('Min_PDOStatement')); // 13 - PDO::ATTR_STATEMENT_CLASS
|
||||
$this->server_info = $this->getAttribute(4); // 4 - PDO::ATTR_SERVER_VERSION
|
||||
$this->server_info = @$this->getAttribute(4); // 4 - PDO::ATTR_SERVER_VERSION
|
||||
}
|
||||
|
||||
/*abstract function select_db($database);*/
|
||||
|
Reference in New Issue
Block a user