[Scummvm-cvs-logs] SF.net SVN: scummvm:[56223] web/trunk/index.php

aquadran at users.sourceforge.net aquadran at users.sourceforge.net
Wed Jan 4 21:22:53 CET 2012


Revision: 56223
          http://scummvm.svn.sourceforge.net/scummvm/?rev=56223&view=rev
Author:   aquadran
Date:     2012-01-04 20:22:51 +0000 (Wed, 04 Jan 2012)
Log Message:
-----------
added permament move into www.residualvm.org

Modified Paths:
--------------
    web/trunk/index.php

Modified: web/trunk/index.php
===================================================================
--- web/trunk/index.php	2012-01-03 12:44:45 UTC (rev 56222)
+++ web/trunk/index.php	2012-01-04 20:22:51 UTC (rev 56223)
@@ -1,4 +1,8 @@
 <?php
+if ($_SERVER['HTTP_HOST']!="www.residualvm.org") {
+	header("HTTP/1.1 301 Moved Permanently");
+	header("location: http://www.residualvm.org");
+}
 /* Load the configuration. */
 require_once('include/config.inc.php');
 /* Set up the include path. */

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.





More information about the Scummvm-git-logs mailing list