lib: Check for mssql extension too in Platform::hasMssqlSupport()
refs #9683
This commit is contained in:
parent
4e1543fd34
commit
f46504554e
|
@ -344,13 +344,13 @@ class Platform
|
|||
/**
|
||||
* Return whether it's possible to connect to a MSSQL database
|
||||
*
|
||||
* Checks whether the Zend framework adapter for MSSQL is available
|
||||
* Checks whether the mssql pdo extension has been loaded and Zend framework adapter for MSSQL is available
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public static function hasMssqlSupport()
|
||||
{
|
||||
return static::classExists('Zend_Db_Adapter_Pdo_Mssql');
|
||||
return static::extensionLoaded('mssql') && static::classExists('Zend_Db_Adapter_Pdo_Mssql');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue