Re: mirror.gif
| From: | Jim Winstead | Date: | Fri, 04 Oct 2002 19:47:56 +0000 |
| Subject: | Re: mirror.gif | ||
| References: | 1 2 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-12932@lists.php.net to get a copy of this message | ||
On Fri, Oct 04, 2002 at 03:38:25PM -0400, Colin Viebrock wrote:
> The docs still say 120x60.
>
> However ... I see that someone has made a change in index.php that
> basically gives larger icons for (www|bugs|news|br2|cn|sg2|za2|tw2).php.net.
>
> Is that really fair? I don't believe so. I would rather limit everyone
> to the same size, whatever that size may be.
the intention was that www.php.net have whatever size it has now, and
other mirrors would have 120x60 buttons. (the reason for the discrepancy
is that www.php.net is special, due to the dedicated machine and the
bandwidth it requires.)
the code in index.php should be changed to use is_primary_site() to
allow the oversized graphic. the flag it is currently using gets
overloaded to indicate mirrors that are not listed as active mirrors,
which is how br2, cn, sg2, za2, and tw2 get included.
it should also be using the other functions from site.inc instead of
accessing the $MIRRORS array directly.
jim