diff options
author | floam <floam@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2006-03-24 07:06:02 +0000 |
---|---|---|
committer | floam <floam@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2006-03-24 07:06:02 +0000 |
commit | f499058467a91b1db84891b2afeb540dc7d85ae1 (patch) | |
tree | 19e4441c7f4338f759349780cb018d6f1f211e89 /web/include/thebrain.php | |
parent | 210510938b89c936dfd45f90f6076f86b8b88a6a (diff) | |
download | ioquake3-aero-f499058467a91b1db84891b2afeb540dc7d85ae1.tar.gz ioquake3-aero-f499058467a91b1db84891b2afeb540dc7d85ae1.zip |
Changes!
git-svn-id: svn://svn.icculus.org/quake3/trunk@657 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'web/include/thebrain.php')
-rw-r--r-- | web/include/thebrain.php | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/web/include/thebrain.php b/web/include/thebrain.php deleted file mode 100644 index 6b95b61..0000000 --- a/web/include/thebrain.php +++ /dev/null @@ -1,42 +0,0 @@ -<?php -if ((strpos($_SERVER['HTTP_ACCEPT'], "application/xhtml+xml")) || ($ua->parent == "Validation Checkers")) { - $content_type = "application/xhtml+xml"; -} - -elseif ((strpos($_SERVER['HTTP_ACCEPT'], "application/xml")) || ($ua->browser == "IE" && $ua->version >= 6)) { - if ($ua->browser == "IE") { - $extradoctype = "<?xml-stylesheet type=\"text/xsl\" href=\"/include/copy.xsl\"?>"; - } - $content_type = "application/xml"; -} -else { - $content_type = "text/html"; -} - -header("Content-type: $content_type; charset=UTF-8"); - -$navlist = array( - "home" => "Home", - "get" => "Get It", - "help" => "Help", - "status" => "Status", - "discuss" => "Discussion", -); - -function include_safe($file) { - if (file_exists("include/$file")) { - include($file); - } - else { - $code = 404; - require("errors.php"); - } -} - -if (!$_GET['page']) { - $page = "home"; -} -else { - $page = $_GET['page']; -} -?> |