change SMARTY_VERSION to $smarty.version.

Fixes #1073
This commit is contained in:
Simon Wisselink
2024-12-28 17:40:25 +01:00
parent ab247c723b
commit 5d1ea5806a
2 changed files with 2 additions and 1 deletions

1
changelog/1073.md Normal file
View File

@ -0,0 +1 @@
- Replace SMARTY_VERSION constant with $smarty.version in debug.tpl [#1073](https://github.com/smarty-php/smarty/issues/1073)

View File

@ -108,7 +108,7 @@
</head>
<body>
<h1>Smarty {\Smarty\Smarty::SMARTY_VERSION} Debug Console
<h1>Smarty {$smarty.version} Debug Console
- {if isset($template_name)}{$template_name|debug_print_var nofilter} {/if}{if !empty($template_data)}Total Time {$execution_time|string_format:"%.5f"}{/if}</h1>
{if !empty($template_data)}