1
0
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:
Charles Wu
2016-10-10 16:47:16 -07:00
committed by Jakub Vrana
parent 3fa1eadf2c
commit 73690164b7
2 changed files with 16 additions and 3 deletions

View File

@@ -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);*/