Merge pull request #3400 from Icinga/bugfix/mssql-detection
Platform: Also consider dblib when checking for MSSQL support
This commit is contained in:
commit
c566c8bfde
|
@ -351,7 +351,8 @@ class Platform
|
|||
*/
|
||||
public static function hasMssqlSupport()
|
||||
{
|
||||
return static::extensionLoaded('mssql') && static::classExists('Zend_Db_Adapter_Pdo_Mssql');
|
||||
return (static::extensionLoaded('mssql') || static::extensionLoaded('pdo_dblib'))
|
||||
&& static::classExists('Zend_Db_Adapter_Pdo_Mssql');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue