r674 - webspace/include

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sat Mar 25 00:14:27 EST 2006


Author: floam
Date: 2006-03-25 00:14:27 -0500 (Sat, 25 Mar 2006)
New Revision: 674

Modified:
   webspace/include/home.php
   webspace/include/thebrain.php
Log:
sanity check


Modified: webspace/include/home.php
===================================================================
--- webspace/include/home.php	2006-03-25 04:52:15 UTC (rev 673)
+++ webspace/include/home.php	2006-03-25 05:14:27 UTC (rev 674)
@@ -5,7 +5,7 @@
 code was released on August 20, 2005 under the
 <a href="http://www.gnu.org/copyleft/gpl.html" title="General Public License">GPL</a>.
 Since then, we have been cleaning up, fixing bugs, and adding features. Our
-permanate goal is to create <em>the</em> open source Quake 3 distribution upon
+permanent goal is to create <em>the</em> open source Quake 3 distribution upon
 which people base their games and projects. This distribution of the engine has
 been ported to many <a href="?page=status">new platforms</a> and has had a slew
 of  <a href="?page=status#features">new features</a> added, along with massive bug extermination.</p>

Modified: webspace/include/thebrain.php
===================================================================
--- webspace/include/thebrain.php	2006-03-25 04:52:15 UTC (rev 673)
+++ webspace/include/thebrain.php	2006-03-25 05:14:27 UTC (rev 674)
@@ -1,6 +1,8 @@
 <?php
-if ($ua = get_browser(null, true)){}
-else { $ua = $false; }
+if (!empty($_SERVER['HTTP_USER_AGENT']))
+	$ua = get_browser(null, true);
+else
+	$ua = $false;
 
 $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">';




More information about the quake3-commits mailing list