com web/php: GO LIVE WITH NEW DESIGN. GO GO GO GO!: include/prepend.inc
| From: | Paul Dragoonis | 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-22557@lists.php.net to get a copy of this message | ||
Commit: 20b40524b07ea88c8411372a8e02fc9623160004
Author: Hannes Magnusson <bjori@mongodb.com> Tue, 19 Nov 2013 18:36:40 -0800
Parents: 7e345c9d29171941f43a6fa834ae40c65c643fa8
Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=20b40524b07ea88c8411372a8e02fc9623160004
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.