Set a redirection to the wiki
Signed-off-by: Olivier Constant <olivier.constant@thalesgroup.com>
diff --git a/index.php b/index.php
index 63d1cb1..1c91ba0 100644
--- a/index.php
+++ b/index.php
@@ -1,31 +1,35 @@
-<?php
-/*******************************************************************************
- * Copyright (c) 2010 Eclipse Foundation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Olivier Constant (Thales Global Services SAS)
- *******************************************************************************/
- require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/app.class.php"); require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/nav.class.php"); require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/menu.class.php"); $App = new App(); $Nav = new Nav(); $Menu = new Menu(); include($App->getProjectCommon()); # All on the same line to unclutter the user's desktop'
- require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/app.class.php"); require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/nav.class.php"); require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/menu.class.php"); $App = new App(); $Nav = new Nav(); $Menu = new Menu(); include($App->getProjectCommon());
-
- $localVersion = false;
-
- # Define these here, or in _projectCommon.php for site-wide values
- $pageKeywords = "eclipse, emf, merge";
- $pageAuthor = "Olivier Constant";
- $pageTitle = "EMF Diff/Merge";
-
-
- // # Paste your HTML content between the EOHTML markers!
- $html = file_get_contents('pages/_index.html');
-
- # Generate the web page
- $App->AddExtraHtmlHeader('<link rel="stylesheet" type="text/css" href="/default/style.css"/>' . "\n\t");
- $App->AddExtraHtmlHeader('<link rel="stylesheet" type="text/css" href="style.css"/>' . "\n\t");
- $App->generatePage($theme, $Menu, null, $pageAuthor, $pageKeywords, $pageTitle, $html);
-
+<?php
+/*******************************************************************************
+ * Copyright (c) 2010-2017 Eclipse Foundation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Olivier Constant (Thales Global Services SAS)
+ *******************************************************************************/
+ # We redirect everyone to the wiki temporarily (HTTP Status 302)
+ header("Location: https://wiki.eclipse.org/EMF_DiffMerge",TRUE,302); /* Redirect browser */
+ exit();
+ # The rest is ignored, but kept at this time
+ require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/app.class.php"); require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/nav.class.php"); require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/menu.class.php"); $App = new App(); $Nav = new Nav(); $Menu = new Menu(); include($App->getProjectCommon()); # All on the same line to unclutter the user's desktop'
+ require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/app.class.php"); require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/nav.class.php"); require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/menu.class.php"); $App = new App(); $Nav = new Nav(); $Menu = new Menu(); include($App->getProjectCommon());
+
+ $localVersion = false;
+
+ # Define these here, or in _projectCommon.php for site-wide values
+ $pageKeywords = "eclipse, emf, merge";
+ $pageAuthor = "Olivier Constant";
+ $pageTitle = "EMF Diff/Merge";
+
+
+ // # Paste your HTML content between the EOHTML markers!
+ $html = file_get_contents('pages/_index.html');
+
+ # Generate the web page
+ $App->AddExtraHtmlHeader('<link rel="stylesheet" type="text/css" href="/default/style.css"/>' . "\n\t");
+ $App->AddExtraHtmlHeader('<link rel="stylesheet" type="text/css" href="style.css"/>' . "\n\t");
+ $App->generatePage($theme, $Menu, null, $pageAuthor, $pageKeywords, $pageTitle, $html);
+
?>
\ No newline at end of file