- bufix {$smarty.template} does include now the relative path, not just filename

This commit is contained in:
Uwe.Tews
2010-07-15 14:08:56 +00:00
parent f6b98d0d7f
commit c4a824bf2c
2 changed files with 4 additions and 3 deletions

View File

@@ -1,4 +1,5 @@
15/07/2010
- bufix {$smarty.template} does include now the relative path, not just filename
===== RC3 =====

View File

@@ -55,7 +55,7 @@ class Smarty_Internal_Compile_Private_Special_Variable extends Smarty_Internal_C
break;
case 'template':
$_template_name = basename($compiler->template->getTemplateFilepath());
$_template_name = $compiler->template->template_resource;
return "'$_template_name'";
case 'current_dir':
@@ -97,4 +97,4 @@ class Smarty_Internal_Compile_Private_Special_Variable extends Smarty_Internal_C
}
}
?>
?>