mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 10:24:26 +02:00
proper checking for files in _fetch_resource_info()
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user