includes/template.php
changeset 125 fb31c951d3a2
parent 118 0c5efda996bf
child 128 01955bf53f96
--- a/includes/template.php	Fri Sep 07 16:25:16 2007 -0400
+++ b/includes/template.php	Sat Sep 08 14:02:19 2007 -0400
@@ -1629,7 +1629,7 @@
       'SIDEBAR_EXTRA'=>'',
       'COPYRIGHT'=>'Enano and all of its code, graphics, and more code is copyright &copy; 2006 Dan Fuhry.<br />This program is Free Software; see the file "GPL" included with this package for details.',
       'TOOLBAR_EXTRAS'=>'',
-      'REQUEST_URI'=>$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'],
+      'REQUEST_URI'=>( isset($_SERVER['HTTP_HOST']) ? $_SERVER['HTTP_HOST'] : '' ).$_SERVER['REQUEST_URI'],
       'STYLE_LINK'=>$slink,
       'LOGOUT_LINK'=>'',
       'THEME_LINK'=>'',