mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-23 13:54:26 +02:00
parent
9f3ef5cc8d
commit
bba1838c7d
@ -342,6 +342,18 @@ class Platform
|
|||||||
return static::extensionLoaded('mysql') && static::classExists('Zend_Db_Adapter_Pdo_Mysql');
|
return static::extensionLoaded('mysql') && static::classExists('Zend_Db_Adapter_Pdo_Mysql');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Return whether it's possible to connect to a Oracle database using PDO_OCI
|
||||||
|
*
|
||||||
|
* Checks whether the OCI PDO extension has been loaded and the Zend framework adapter for Oci is available
|
||||||
|
*
|
||||||
|
* @return bool
|
||||||
|
*/
|
||||||
|
public static function hasOracleSupport()
|
||||||
|
{
|
||||||
|
return static::extensionLoaded('pdo_oci') && static::classExists('Zend_Db_Adapter_Pdo_Mysql');
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return whether it's possible to connect to a PostgreSQL database
|
* Return whether it's possible to connect to a PostgreSQL database
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user