[Nextcms-commits] CVS: nextcms class.Log.php,1.2,1.3
Status: Alpha
Brought to you by:
andrejb
|
From: Andrej B. <an...@us...> - 2002-03-25 14:34:32
|
Update of /cvsroot/nextcms/nextcms
In directory usw-pr-cvs1:/tmp/cvs-serv32651
Modified Files:
class.Log.php
Log Message:
fixed bug in the Log class
Index: class.Log.php
===================================================================
RCS file: /cvsroot/nextcms/nextcms/class.Log.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** class.Log.php 25 Mar 2002 10:21:56 -0000 1.2
--- class.Log.php 25 Mar 2002 14:34:23 -0000 1.3
***************
*** 22,26 ****
if (isset($GLOBALS['RESOLVE_HOST_NAMES']))
if ($GLOBALS['RESOLVE_HOST_NAMES'])
! gethostbyaddr($remote_addr);
fputs($f, $remote_addr . " - " . $remote_user . ' ' . date('[d/M/Y:H:i:s O]', time()) . ' "' . getenv('REQUEST_METHOD') . ' ' . getenv('REQUEST_URI') . ' ' . getenv('SERVER_PROTOCOL') . '" '. getenv('REDIRECT_STATUS') . ' ' . '-' . ' "' . $referer . '" "' . getenv('HTTP_USER_AGENT') . '" ' . "\n");
--- 22,26 ----
if (isset($GLOBALS['RESOLVE_HOST_NAMES']))
if ($GLOBALS['RESOLVE_HOST_NAMES'])
! $remote_addr = gethostbyaddr($remote_addr);
fputs($f, $remote_addr . " - " . $remote_user . ' ' . date('[d/M/Y:H:i:s O]', time()) . ' "' . getenv('REQUEST_METHOD') . ' ' . getenv('REQUEST_URI') . ' ' . getenv('SERVER_PROTOCOL') . '" '. getenv('REDIRECT_STATUS') . ' ' . '-' . ' "' . $referer . '" "' . getenv('HTTP_USER_AGENT') . '" ' . "\n");
|