FIX redirection for eclipse homepage

Signed-off-by: Christopher Guindon <chris.guindon@eclipse.org>
diff --git a/index.php b/index.php
index 0f6754c..be3eb7b 100644
--- a/index.php
+++ b/index.php
@@ -19,9 +19,9 @@
 
 #redirect the user if he already saw the luna landing page
 $uri = explode("/", $_SERVER['REQUEST_URI']);
-if ($uri[1] == 'mars') {
-  if (!isset($_COOKIE['mars'])){
-    setcookie('mars', 'eclipse_mars', time()+3600*24*365, "/", ".eclipse.org");
+if (strtolower($uri[1]) != 'mars') {
+  if (!isset($_COOKIE['eclipse_mars'])){
+    setcookie('eclipse_mars', 'eclipse_mars', time()+3600*24*365, "/", ".eclipse.org");
   }
   else {
     header('Location: /home/index.php');