From eeb88f732f428e88b354271d61c3995041586025 Mon Sep 17 00:00:00 2001 From: xue <> Date: Tue, 7 Feb 2006 14:23:41 +0000 Subject: Fixed Ticket #39. --- framework/prado.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/prado.php b/framework/prado.php index 844394f7..eb38ae9d 100644 --- a/framework/prado.php +++ b/framework/prado.php @@ -39,7 +39,7 @@ if(!function_exists('__autoload')) function __autoload($className) { include_once($className.Prado::CLASS_FILE_EXT); - if(!class_exists($className,false)) + if(!class_exists($className,false) && !interface_exists($className,false)) Prado::fatalError("Class file for '$className' cannot be found."); } } -- cgit v1.2.3