commit | b1a064cbff7cbcb378b304949586e60b1ae047e8 | [log] [tgz] |
---|---|---|
author | Christopher Guindon <chris.guindon@eclipse.org> | Thu Jun 26 14:07:09 2014 -0400 |
committer | Christopher Guindon <chris.guindon@eclipse.org> | Thu Jun 26 14:07:09 2014 -0400 |
tree | 3000631d08bafeda3c0b8dbd432859952c56743d | |
parent | f7f6abf8da72b66908d262fa99d527d7f0083014 [diff] |
update luna cookie Signed-off-by: Christopher Guindon <chris.guindon@eclipse.org>
diff --git a/index.php b/index.php index 79bd665..b6494dd 100644 --- a/index.php +++ b/index.php
@@ -22,7 +22,7 @@ $uri = explode("/", $_SERVER['REQUEST_URI']); if ($uri[1] != 'luna') { if (!isset($_COOKIE['luna'])){ - setcookie("luna", "Are you ready for Java 8?"); + setcookie("luna", "Are you ready for Java 8?", time()+3600*24*365, "/", ".eclipse.org"); } else { header('Location: /home/index.php');