From dcd67f2ff98a9634cb0b825faf2c192ae4d63714 Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Wed, 6 Apr 2016 21:04:57 +0200 Subject: Remove fatal error on autoload fail --- framework/PradoBase.php | 2 -- 1 file changed, 2 deletions(-) (limited to 'framework/PradoBase.php') diff --git a/framework/PradoBase.php b/framework/PradoBase.php index 2c5b2649..7cd26187 100644 --- a/framework/PradoBase.php +++ b/framework/PradoBase.php @@ -105,8 +105,6 @@ class PradoBase public static function autoload($className) { include_once($className.self::CLASS_FILE_EXT); - if(!class_exists($className,false) && !interface_exists($className,false)) - self::fatalError("Class file for '$className' cannot be found."); } /** -- cgit v1.2.3