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

From: Date: Sun, 26 Dec 2010 16:40:00 +0000
Subject: svn: /web/php/trunk/include/ prepend.inc
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-9828@lists.php.net to get a copy of this message
bjori Sun, 26 Dec 2010 16:40:00 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=306691 Log: Make it possible to quickly compare/switch to beta via ?beta=1 Changed paths: U web/php/trunk/include/prepend.inc Modified: web/php/trunk/include/prepend.inc =================================================================== --- web/php/trunk/include/prepend.inc 2010-12-26 16:34:28 UTC (rev 306690) +++ web/php/trunk/include/prepend.inc 2010-12-26 16:40:00 UTC (rev 306691) @@ -172,9 +172,12 @@ function myphpnet_beta() { global $MYPHPNET; - if (isset($MYPHPNET[4])) { - return $MYPHPNET[4]; + if (isset($MYPHPNET[4]) && $MYPHPNET[4]) { + return true; } + if (isset($_GET["beta"])) { + return true; + } return false; }

« previous php.webmaster (#9828) next »