svn: /web/php/trunk/include/ prepend.inc
| From: | Hannes Magnusson | Date: | Tue, 28 Dec 2010 11:45:44 +0000 |
| Subject: | svn: /web/php/trunk/include/ prepend.inc | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-9908@lists.php.net to get a copy of this message | ||
bjori Tue, 28 Dec 2010 11:45:44 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=306786
Log:
Ignore the cookie and always enable the beta in prototype.php.net
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 11:42:50 UTC (rev 306785)
+++ web/php/trunk/include/prepend.inc 2010-12-28 11:45:44 UTC (rev 306786)
@@ -171,10 +171,16 @@
}
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;
}