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)
|
||||
{
|
||||
if (class_exists($name)) {
|
||||
if (@class_exists($name)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue