com web/php: I've been dying to do this all day..: downloads.php
| From: | Paul Dragoonis | Date: | Fri, 01 Apr 2011 19:40:42 +0000 |
| Subject: | com web/php: I've been dying to do this all day..: downloads.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-23569@lists.php.net to get a copy of this message | ||
Commit: fc564511c00d77884abd8d5a336f47b98854acce
Author: Hannes Magnusson <bjori@php.net> Fri, 1 Apr 2011 19:40:42 +0000
Parents: d015470d3ee4658caa4c8cbd1f8924b5efc1aead
Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=fc564511c00d77884abd8d5a336f47b98854acce
Log:
I've been dying to do this all day..
Changed paths:
M downloads.php
Diff:
diff --git a/downloads.php b/downloads.php
index f5e8070..cbc643a 100644
--- a/downloads.php
+++ b/downloads.php
@@ -6,6 +6,11 @@ include_once $_SERVER['DOCUMENT_ROOT'] .
'/include/version.inc';
// Try to make this page non-cached
header_nocache();
+if (time() < 1301738460 && !isset($_COOKIE["done"])) {
+ setcookie("done", 1);
+ header("Location: http://rubyonrails.org/download");
+ exit;
+}
$SIDEBAR_DATA = '
<h3>Binaries for other systems</h3>