[Openfirst-cvscommit] base/includes/functions debug.php,1.5,1.6
Brought to you by:
xtimg
From: Astronouth7303 <ast...@us...> - 2005-08-22 17:37:05
|
Update of /cvsroot/openfirst/base/includes/functions In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6425/includes/functions Modified Files: debug.php Log Message: Don't reference undefined values in CLI mode Index: debug.php =================================================================== RCS file: /cvsroot/openfirst/base/includes/functions/debug.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** debug.php 30 Jun 2005 03:55:47 -0000 1.5 --- debug.php 22 Aug 2005 17:36:57 -0000 1.6 *************** *** 61,65 **** Error Number: $errno"; ! $specifics = "PHP_SELF: {$_SERVER['PHP_SELF']} HTTP Host: {$_SERVER['HTTP_HOST']}"; --- 61,67 ---- Error Number: $errno"; ! $specifics = "PHP_SELF: {$_SERVER['PHP_SELF']}"; ! if (isset($_SERVER['HTTP_HOST'])) ! $specifics .= " HTTP Host: {$_SERVER['HTTP_HOST']}"; |