From a6cea24934f493d0131fb4813176c21da5315603 Mon Sep 17 00:00:00 2001 From: Alexander Klimov Date: Tue, 3 Feb 2015 12:16:25 +0100 Subject: [PATCH] Platform::zendClassExists(): don't fail if a Zend class file doesn't exist --- library/Icinga/Application/Platform.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Icinga/Application/Platform.php b/library/Icinga/Application/Platform.php index 6e5953887..d4d130220 100644 --- a/library/Icinga/Application/Platform.php +++ b/library/Icinga/Application/Platform.php @@ -191,7 +191,7 @@ class Platform */ public static function zendClassExists($name) { - if (class_exists($name)) { + if (@class_exists($name)) { return true; }