proper checking for files in _fetch_resource_info()

This commit is contained in:
messju
2003-09-04 10:30:13 +00:00
parent 61c95d76e8
commit 16ab251d48

View File

@@ -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: