mirror of
https://github.com/smarty-php/smarty.git
synced 2026-04-29 10:13:25 +02:00
- remove exception_handler property from Smarty class
- added Smarty's own exceptions SmartyException and SmartyCompilerException
This commit is contained in:
@@ -114,7 +114,7 @@ class Smarty_Internal_Wrapper {
|
||||
}
|
||||
$func_name = implode('',$name_parts);
|
||||
if(!method_exists($this->smarty,$func_name)) {
|
||||
throw new Exception("unknown method '$name'");
|
||||
throw new SmartyException("unknown method '$name'");
|
||||
return false;
|
||||
}
|
||||
return call_user_func_array(array($this->smarty,$func_name),$args);
|
||||
|
||||
Reference in New Issue
Block a user