Commit: a7e58aa8cc3425f38138a063d153e6f737ddf0cb Author: Hannes Magnusson <[email protected]> Tue, 28 Dec 2010 11:45:44 +0000 Parents: 191ca694f73ef81b6b9a8365d06031320b04e555 Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=a7e58aa8cc3425f38138a063d153e6f737ddf0cb Log: Ignore the cookie and always enable the beta in prototype.php.net Changed paths: M include/prepend.inc Diff: diff --git a/include/prepend.inc b/include/prepend.inc index 80d6bc7..34dc42b 100644 --- a/include/prepend.inc +++ b/include/prepend.inc @@ -171,10 +171,16 @@ function myphpnet_setbeta($bool = false) { } function myphpnet_beta() { global $MYPHPNET; + global $MYSITE; if (isset($_GET["beta"])) { return (bool)$_GET["beta"]; } + + if ($MYSITE == "http://prototype.php.net/") { + return true; + } + if (isset($MYPHPNET[4]) && $MYPHPNET[4]) { return true; } -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
