Platform::zendClassExists(): don't fail if a Zend class file doesn't exist

This commit is contained in:
Alexander Klimov 2015-02-03 12:16:25 +01:00
parent cb08b25e17
commit a6cea24934
1 changed files with 1 additions and 1 deletions

View File

@ -191,7 +191,7 @@ class Platform
*/
public static function zendClassExists($name)
{
if (class_exists($name)) {
if (@class_exists($name)) {
return true;
}