Merge branch 'master' into develop
This commit is contained in:
@@ -30,7 +30,7 @@ class SQLServer extends Connector {
|
|||||||
$port = (isset($port)) ? ','.$port : '';
|
$port = (isset($port)) ? ','.$port : '';
|
||||||
|
|
||||||
//check for dblib for mac users connecting to mssql (utilizes freetds)
|
//check for dblib for mac users connecting to mssql (utilizes freetds)
|
||||||
if (!empty($dsn_type) and $dsn_type == 'dblib')
|
if (in_array('dblib',PDO::getAvailableDrivers()))
|
||||||
{
|
{
|
||||||
$dsn = "dblib:host={$host}{$port};dbname={$database}";
|
$dsn = "dblib:host={$host}{$port};dbname={$database}";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user