- improvement new Smarty::$extends_recursion property to disable execution of {extends} in templates called by extends resource

https://github.com/smarty-php/smarty/issues/296
This commit is contained in:
uwetews
2016-09-30 02:30:39 +02:00
parent 68ab01dc9e
commit 80af6ea2b5
3 changed files with 5 additions and 4 deletions

View File

@@ -87,7 +87,7 @@ class Smarty_Internal_Runtime_GetIncludePath
$_dirs = (array) explode(PATH_SEPARATOR, $_i_path);
foreach ($_dirs as $_path) {
if (is_dir($_path)) {
$this->_include_dirs[] = $smarty->_realpath($_path . $smarty->ds, true);
$this->_include_dirs[] = $smarty->_realpath($_path . $smarty->ds);
}
}
return true;