diff options
author | xue <> | 2006-02-07 14:23:41 +0000 |
---|---|---|
committer | xue <> | 2006-02-07 14:23:41 +0000 |
commit | eeb88f732f428e88b354271d61c3995041586025 (patch) | |
tree | 9fd2323922d91d204b113bdb3600c4a61d87e8fe /framework | |
parent | 8a817c6d142027e2923ffe8af42ab99ea88bbd8d (diff) |
Fixed Ticket #39.
Diffstat (limited to 'framework')
-rw-r--r-- | framework/prado.php | 2 |
1 files changed, 1 insertions, 1 deletions
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.");
}
}
|