From 16ab251d48a4d6383243a1d8263ab50050b11d0b Mon Sep 17 00:00:00 2001 From: messju Date: Thu, 4 Sep 2003 10:30:13 +0000 Subject: [PATCH] proper checking for files in _fetch_resource_info() --- 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 0bf15a64..48e33a5b 100644 --- a/libs/Smarty.class.php +++ b/libs/Smarty.class.php @@ -1642,7 +1642,7 @@ class Smarty $params['source_content'] = $this->_read_file($_resource_name); } $params['resource_timestamp'] = filemtime($_resource_name); - $_return = true; + $_return = is_file($_resource_name); break; default: