Merge pull request #173 from MHillier98/master

Updated footer to automatically set the copyright year
This commit is contained in:
Bojidar Marinov
2019-03-16 13:36:07 +02:00
committed by GitHub

View File

@@ -3,7 +3,7 @@
<div class="col-md-12">
<hr/>
<p>
Copyright &copy; 2018 The Godot Engine community - MIT licensed
Copyright &copy; <?php echo esc(date("Y")); ?> The Godot Engine community - MIT licensed
<?php if(file_exists('.git/HEAD')) { $HEAD_contents = file_get_contents('.git/HEAD');?>
<?php if(preg_match('/^ref: (.+)$/m', $HEAD_contents, $ref_matches)) {
$ref = $ref_matches[1];