r966 - webspace/include

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Fri Nov 10 21:31:37 EST 2006


Author: floam
Date: 2006-11-10 21:31:37 -0500 (Fri, 10 Nov 2006)
New Revision: 966

Modified:
   webspace/include/thebrain.php
Log:
Send people where we want them to be.


Modified: webspace/include/thebrain.php
===================================================================
--- webspace/include/thebrain.php	2006-11-09 14:51:24 UTC (rev 965)
+++ webspace/include/thebrain.php	2006-11-11 02:31:37 UTC (rev 966)
@@ -14,6 +14,9 @@
 else
 	$ua = false;
 
+if (strpos($_SERVER['HTTP_HOST'], "icculus"))
+	header("Location: http://ioquake3.org" . $_SERVER["REQUEST_URI"]);
+
 $normal = '<?xml version="1.0" encoding="UTF-8" ?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">';
 if  ((strpos($_SERVER['HTTP_ACCEPT'], "application/xhtml+xml")) || ($ua['parent'] == "Validation Checkers")) 




More information about the quake3-commits mailing list