Re: com web/shared: Use date() instead of hardcoding the year(Derick): templates/footer.inc
| From: | Derick Rethans | Date: | Tue, 22 Nov 2016 11:51:55 +0000 |
| Subject: | Re: com web/shared: Use date() instead of hardcoding the year(Derick): templates/footer.inc | ||
| References: | 1 2 | Groups: | php.webmaster |
| Request: | Send a blank email to php-webmaster+get-25349@lists.php.net to get a copy of this message | ||
On Tue, 22 Nov 2016, Peter Cowburn wrote:
> On 22 November 2016 at 07:14, Kalle Sommer Nielsen <kalle@php.net> wrote:
>
> > 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>
> >
>
> Was making it a two-digit year deliberate?
Probably not. I'm blaming auto-correct on my phone!
cheers,
Derick
--
https://derickrethans.nl | https://xdebug.org | https://dram.io
Like Xdebug? Consider a donation: https://xdebug.org/donate.php
twitter: @derickr and @xdebug