From b2b23381753d64b24b9c985185989ec76e4b9b8e Mon Sep 17 00:00:00 2001 From: messju Date: Wed, 20 Aug 2003 11:23:17 +0000 Subject: [PATCH] made template_exists() quiet when the template does not exist (thanks to konstatin for pointing this out) --- libs/Smarty.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/Smarty.class.php b/libs/Smarty.class.php index cd1b3a98..39a0fc64 100644 --- a/libs/Smarty.class.php +++ b/libs/Smarty.class.php @@ -1108,7 +1108,7 @@ class Smarty */ function template_exists($tpl_file) { - $_params = array('resource_name' => $tpl_file, 'get_source'=>false); + $_params = array('resource_name' => $tpl_file, 'quiet'=>true, 'get_source'=>false); return $this->_fetch_resource_info($_params); }