com web/shared: Use date() instead of hardcoding the year(Derick): templates/footer.inc
| From: | Kalle Sommer Nielsen | Date: | Tue, 22 Nov 2016 07:14:37 +0000 |
| Subject: | com web/shared: Use date() instead of hardcoding the year(Derick): templates/footer.inc | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-25347@lists.php.net to get a copy of this message | ||
Commit: e17b0f9349f06cfa33485c170d44c9a443e291d4
Author: Kalle Sommer Nielsen <kalle@php.net> Tue, 22 Nov 2016 08:14:37 +0100
Parents: 5cbeccbc73531360297d7270d9611093409f33e9
Branches: master
Link: http://git.php.net/?p=web/shared.git;a=commitdiff;h=e17b0f9349f06cfa33485c170d44c9a443e291d4
Log:
Use date() instead of hardcoding the year(Derick)
Changed paths:
M templates/footer.inc
Diff:
diff --git a/templates/footer.inc b/templates/footer.inc
index 0b2731c..8137bde 100644
--- a/templates/footer.inc
+++ b/templates/footer..inc
@@ -24,7 +24,7 @@ $ROOT = substr($_SERVER["SERVER_NAME"], -8) == ".php.net" ?
"//shared.php.net" :
<footer>
<nav class="fullscreen">
<ul>
- <li><a href="//php.net/copyright">Copyright © 2001-2016 The
PHP Group</a></li>
+ <li><a href="//php.net/copyright">Copyright © 2001-<?php echo
date('y'); ?> The PHP Group</a></li>
<li><a href="//php.net/sites">Other PHP.net sites</a></li>
<li><a href="//php.net/privacy">Privacy policy</a></li>
</ul>