From 001f16aa0aa9c813916eb0a178e1c21195f8d434 Mon Sep 17 00:00:00 2001 From: uwetews Date: Sun, 7 Aug 2016 16:08:10 +0200 Subject: [PATCH] update error message --- libs/sysplugins/smarty_internal_template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/sysplugins/smarty_internal_template.php b/libs/sysplugins/smarty_internal_template.php index de307d70..e1732ca4 100644 --- a/libs/sysplugins/smarty_internal_template.php +++ b/libs/sysplugins/smarty_internal_template.php @@ -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