adding version number

This commit is contained in:
Xkeeper
2015-08-09 01:10:54 -07:00
parent 727782410f
commit 9cf3e47cc5
3 changed files with 3 additions and 5 deletions

2
.gitignore vendored
View File

@@ -2,6 +2,6 @@
.old/
board/
xkeeper/
version.txt
lib/config.php
lib/firewall.php

View File

@@ -35,7 +35,6 @@
if (file_exists("lib/firewall.php") && !filter_int($disable_firewall)) {
trigger_error("Loading firewall", E_USER_NOTICE);
require 'lib/firewall.php';
}

View File

@@ -519,9 +519,8 @@
</td>
<td>
{$smallfont}
Acmlmboard - $verupdated b". str_pad($vernumber, 3, "0", STR_PAD_LEFT) ."
<br>&copy;2000-2013 Acmlm, Xkeeper, Inuyasha, et al. <!-- Acmlm, Emuz, Blades, Xkeeper
<br><img src=\"images/4funin1.png\" title=\"totally!\" width=448 height=48> -->
Acmlmboard - ". (file_exists('version.txt') ? file_get_contents("version.txt") : shell_exec("git log --format='commit %h [%ad]' --date='short' -n 1")) ."
<br>&copy;2000-". date("Y") ." Acmlm, Xkeeper, Inuyasha, et al.
</font>
</td>
</tr></table>