mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 07:44:04 +02:00
parent
bba1838c7d
commit
358f1750fb
@ -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 OCI8
|
||||||
|
*
|
||||||
|
* Checks whether the OCI8 extension has been loaded and the Zend framework adapter for Oracle is available
|
||||||
|
*
|
||||||
|
* @return bool
|
||||||
|
*/
|
||||||
|
public static function hasOciSupport()
|
||||||
|
{
|
||||||
|
return static::extensionLoaded('oci8') && static::classExists('Zend_Db_Adapter_Oracle');
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return whether it's possible to connect to a Oracle database using PDO_OCI
|
* Return whether it's possible to connect to a Oracle database using PDO_OCI
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user