From b74efee1fadead671ab2ff9eaa24aea80fc917b0 Mon Sep 17 00:00:00 2001 From: Damien Regad Date: Mon, 31 Dec 2012 14:27:10 +0100 Subject: [PATCH] Use date() for current copyright year in html_footer --- core/html_api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/html_api.php b/core/html_api.php index 524dc482be..4e5a46bdd6 100644 --- a/core/html_api.php +++ b/core/html_api.php @@ -667,7 +667,7 @@ function html_footer( $p_file = null ) { $t_copyright_years = ''; if ( config_get( 'show_version' ) ) { $t_version_suffix = htmlentities( ' ' . MANTIS_VERSION . config_get_global( 'version_suffix' ) ); - $t_copyright_years = ' 2000 - 2012'; + $t_copyright_years = ' 2000 - ' . date('Y'); } echo "\t
Powered by Mantis Bug Tracker (MantisBT)$t_version_suffix. Copyright ©$t_copyright_years MantisBT contributors. Licensed under the terms of the GNU General Public License (GPL) version 2 or a later version.
\n";