svn: /web/php/trunk/include/ prepend.inc

From: Date: Tue, 28 Dec 2010 09:26:01 +0000
Subject: svn: /web/php/trunk/include/ prepend.inc
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-9901@lists.php.net to get a copy of this message
bjori Tue, 28 Dec 2010 09:26:01 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=306777 Log: Make ?beta=0 disable the new version on per-page basis (philip) Changed paths: U web/php/trunk/include/prepend.inc Modified: web/php/trunk/include/prepend.inc =================================================================== --- web/php/trunk/include/prepend.inc 2010-12-28 08:46:56 UTC (rev 306776) +++ web/php/trunk/include/prepend.inc 2010-12-28 09:26:01 UTC (rev 306777) @@ -172,12 +172,12 @@ function myphpnet_beta() { global $MYPHPNET; + if (isset($_GET["beta"])) { + return (bool)$_GET["beta"]; + } if (isset($MYPHPNET[4]) && $MYPHPNET[4]) { return true; } - if (isset($_GET["beta"])) { - return true; - } return false; }

« previous php.webmaster (#9901) next »