mirror of
https://github.com/smarty-php/smarty.git
synced 2026-05-04 19:54:14 +02:00
- remove exception_handler property from Smarty class
- added Smarty's own exceptions SmartyException and SmartyCompilerException
This commit is contained in:
@@ -90,7 +90,7 @@ class Smarty_Internal_Resource_Extends {
|
||||
foreach ($_files as $_filepath) {
|
||||
// read template file
|
||||
if ($_filepath === false) {
|
||||
throw new Exception("Unable to load template 'file : {$_file}'");
|
||||
throw new SmartyException("Unable to load template 'file : {$_file}'");
|
||||
}
|
||||
if ($_filepath != $_files[0]) {
|
||||
$_template->properties['file_dependency'][sha1($_filepath)] = array($_filepath, filemtime($_filepath));
|
||||
|
||||
Reference in New Issue
Block a user