From 04579a07daddb54673c9ae6ca255e1d6f5e994b2 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Wed, 21 Dec 2005 22:15:42 +0000 Subject: [PATCH] Don't expose the whole path when we can't find the template --- template_fs.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/template_fs.php b/template_fs.php index 773b346..a2f408a 100644 --- a/template_fs.php +++ b/template_fs.php @@ -125,13 +125,13 @@ class Template_FS extends Template } else { - trigger_error("Could not load the template '$path'", E_USER_ERROR); + trigger_error("Could not load the template '$name.{$this->extension}'", E_USER_ERROR); exit; } } else { - trigger_error("Could not load the template '$path'", E_USER_ERROR); + trigger_error("Could not load the template '$name.{$this->extension}'", E_USER_ERROR); exit; } } -- 2.22.5