mirror of
https://github.com/smarty-php/smarty.git
synced 2025-10-20 16:05:20 +02:00
- implemented caching of registered Resources
- new property 'auto_literal'. if true(default) '{ ' and ' }' interpreted as literal, not as Smarty delimiter
This commit is contained in:
@@ -29,7 +29,7 @@ class Smarty_Internal_Resource_PHP {
|
||||
*/
|
||||
public function getTemplateFilepath($_template)
|
||||
{
|
||||
$_filepath = $_template->buildTemplateFilepath ();
|
||||
$_filepath = $_template->buildTemplateFilepath ();
|
||||
|
||||
if ($_template->security) {
|
||||
$_template->smarty->security_handler->isTrustedResourceDir($_filepath);
|
||||
|
Reference in New Issue
Block a user