mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 18:34:27 +02:00
update error message
This commit is contained in:
@@ -160,7 +160,7 @@ class Smarty_Internal_Template extends Smarty_Internal_TemplateBase
|
||||
}
|
||||
// checks if template exists
|
||||
if (!$this->source->exists) {
|
||||
throw new SmartyException("Unable to load template {$this->source->type} '{$this->source->name}'" .
|
||||
throw new SmartyException("Unable to load template '{$this->source->type}:{$this->source->name}'" .
|
||||
($parentIsTpl ? " in '{$this->parent->template_resource}'" : ''));
|
||||
}
|
||||
// disable caching for evaluated code
|
||||
|
Reference in New Issue
Block a user