1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-24 23:16:15 +02:00

Always display all drivers (bug #3097666)

This commit is contained in:
Jakub Vrana
2010-10-29 15:24:06 +02:00
parent 753909ecea
commit a2443670f8
8 changed files with 91 additions and 111 deletions

View File

@@ -5,13 +5,10 @@
* @author Jakub Vrana
*/
$possible_drivers[] = "SQLSRV";
$possible_drivers[] = "MSSQL";
if (extension_loaded("sqlsrv") || extension_loaded("mssql")) {
$drivers["mssql"] = "MS SQL";
}
$drivers["mssql"] = "MS SQL";
if (isset($_GET["mssql"])) {
$possible_drivers = array("SQLSRV", "MSSQL");
define("DRIVER", "mssql");
if (extension_loaded("sqlsrv")) {
class Min_DB {