Skip to content

Commit

Permalink
change SMARTY_VERSION to $smarty.version.
Browse files Browse the repository at this point in the history
Fixes #1073
  • Loading branch information
wisskid committed Dec 28, 2024
1 parent ab247c7 commit 5d1ea58
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog/1073.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Replace SMARTY_VERSION constant with $smarty.version in debug.tpl [#1073](https://github.com/smarty-php/smarty/issues/1073)
2 changes: 1 addition & 1 deletion src/debug.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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)}
Expand Down

0 comments on commit 5d1ea58

Please sign in to comment.