com web/php: GO LIVE WITH NEW DESIGN. GO GO GO GO!: include/prepend.inc
| From: | Hannes Magnusson | Date: | Wed, 20 Nov 2013 02:43:25 +0000 |
| Subject: | com web/php: GO LIVE WITH NEW DESIGN. GO GO GO GO!: include/prepend.inc | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-17053@lists.php.net to get a copy of this message | ||
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.