Skip to content

Commit 876ec80

Browse files
Merge pull request #61 from jdarwood007/fixsmfinfo
Fixes #59
2 parents abe9c93 + c2acbb3 commit 876ec80

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

smfinfo.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
*
66
* @package SMF
77
* @author Simple Machines
8-
* @copyright 2020 Simple Machines
8+
* @copyright 2021 Simple Machines
99
* @license https://www.simplemachines.org/about/smf/license.php BSD
1010
*
11-
* @version 2.0.17
11+
* @version 2.1.1
1212
*/
1313

1414
// If SSI.php is in the same place as this file, and SMF isn't defined, this is being run standalone.
@@ -22,7 +22,7 @@
2222
elseif(!defined('SMF'))
2323
die('<b>Error:</b> Cannot start - please verify you put this in the same place as SMF\'s SSI.php.');
2424

25-
$smfinfo_version = '1.2';
25+
$smfinfo_version = '1.2.1';
2626

2727
initialize();
2828

@@ -1307,9 +1307,9 @@ function show_status()
13071307

13081308
function show_footer()
13091309
{
1310-
global $context, $boardurl, $forum_copyright, $forum_version;
1310+
global $context, $boardurl, $forum_copyright, $forum_version, $scripturl;
13111311

1312-
$t = sprintf($forum_copyright, $forum_version);
1312+
$t = sprintf($forum_copyright, $forum_version, date('Y'), $scripturl);
13131313
echo '
13141314
</div><!-- #smfinfo -->
13151315
</div><!-- #wrapper -->

0 commit comments

Comments
 (0)