- bugfix {$smarty.template} in child template did not return right content

- bugfix Smarty3 did not search the PHP include_path for template files
This commit is contained in:
uwe.tews@googlemail.com
2010-12-13 22:05:27 +00:00
parent 73bd60cad5
commit f0c95ab79c
4 changed files with 70 additions and 12 deletions
@@ -56,7 +56,7 @@ class Smarty_Internal_Compile_Private_Special_Variable extends Smarty_Internal_C
break;
case 'template':
$_template_name = $compiler->template->template_resource;
$_template_name = basename($compiler->template->getTemplateFilepath());
return "'$_template_name'";
case 'current_dir':