mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-31 01:34:09 +02:00
Platform::zendClassExists(): don't fail if a Zend class file doesn't exist
This commit is contained in:
parent
cb08b25e17
commit
a6cea24934
@ -191,7 +191,7 @@ class Platform
|
|||||||
*/
|
*/
|
||||||
public static function zendClassExists($name)
|
public static function zendClassExists($name)
|
||||||
{
|
{
|
||||||
if (class_exists($name)) {
|
if (@class_exists($name)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user