mirror of
https://github.com/godotengine/godot-asset-library.git
synced 2026-02-25 06:33:01 +03:00
Merge pull request #173 from MHillier98/master
Updated footer to automatically set the copyright year
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<div class="col-md-12">
|
||||
<hr/>
|
||||
<p>
|
||||
Copyright © 2018 The Godot Engine community - MIT licensed
|
||||
Copyright © <?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];
|
||||
|
||||
Reference in New Issue
Block a user