Re: com web/php: GO LIVE WITH NEW DESIGN. GO GO GO GO!: include/prepend.inc

From: Date: Wed, 20 Nov 2013 09:44:58 +0000
Subject: Re: com web/php: GO LIVE WITH NEW DESIGN. GO GO GO GO!: include/prepend.inc
References: 1  Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-17055@lists.php.net to get a copy of this message
Good :) On Wed, Nov 20, 2013 at 2:43 AM, Hannes Magnusson <bjori@php.net> wrote: > Commit: a0389853724807d9b257430bdc6a742ee454f910 > Author: Hannes Magnusson <bjori@mongodb.com> Tue, 19 Nov 2013 > 18:36:40 -0800 > Parents: 53ba83ebb256fefcc26f577c5557edd1b2200525 > Branches: master > > Link: > > http://git.php.net/?p=web/php.git;a=commitdiff;h=a0389853724807d9b257430bdc6a742ee454f910 > > Log: > GO LIVE WITH NEW DESIGN. GO GO GO GO! > > Disables the cookie check too, so people that had it stored will now always > see the new design, even if they opted-out of it originally. > > The only way to view the "original" page is adding ?beta=0 to the url > > Changed paths: > M include/prepend.inc > > > Diff: > diff --git a/include/prepend.inc b/include/prepend.inc > index 2929b99..7bb4ec3 100644 > --- a/include/prepend.inc > +++ b/include/prepend.inc > @@ -189,16 +189,7 @@ function myphpnet_beta() { > if (isset($_GET["beta"])) { > return (bool)$_GET["beta"]; > } > - > - if ($MYSITE === 'http://prototype.php.net/') { > - return true; > - } > - > - if (isset($MYPHPNET[4])) { > - return (bool)$MYPHPNET[4]; > - } > - > - return false; > + return true; > } > > // Default: Default search. > > > -- > PHP Webmaster List Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.webmaster (#17055) next »