diff options
Diffstat (limited to 'framework/prado.php')
-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.");
}
}
|