Re: com web/php: force the account requests to www.php.net: git-php.php

From: Date: Mon, 28 Jan 2013 08:40:23 +0000
Subject: Re: com web/php: force the account requests to www.php.net: git-php.php
References: 1  Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-15383@lists.php.net to get a copy of this message
On Sun, Jan 27, 2013 at 8:33 PM, Ferenc Kovacs <tyrael@php.net> wrote: > Commit: 9a85f9de2b668ad5c3e6b85da74bf846342a52c9 > Author: Ferenc Kovacs <tyra3l@gmail.com> Mon, 28 Jan 2013 02:28:25 +0100 > Parents: a1f27a235e5964731e5af02d6cd4118ccfb59e2f > Branches: master > > Link: > http://git.php.net/?p=web/php.git;a=commitdiff;h=9a85f9de2b668ad5c3e6b85da74bf846342a52c9 > > Log: > force the account requests to www.php.net > > Changed paths: > M git-php.php > > > Diff: > diff --git a/git-php.php b/git-php.php > index 7a4ac9a..9c9da8f 100644 > --- a/git-php.php > +++ b/git-php.php > @@ -5,6 +5,12 @@ include_once $_SERVER['DOCUMENT_ROOT'] . > '/include/prepend.inc'; > include_once $_SERVER['DOCUMENT_ROOT'] . '/include/email-validation.inc'; > include_once $_SERVER['DOCUMENT_ROOT'] . '/include/posttohost.inc'; > > +// Force the account requests to www.php.net > +if ($MYSITE != "http://www.php.net/" && > $MYSITE != 'http://php.net/') { > + header('Location: > http://www.php.net/'.$_SERVER['BASE_PAGE']); This will create a nasty endless redirect if we every start supporting https. -Hannes

« previous php.webmaster (#15383) next »