BUG 6843 - Noew the date is stored in the log
This commit is contained in:
committed by
Erik Amaru Ortiz
parent
93d9f365f5
commit
29dc5beced
@@ -30,7 +30,7 @@ $startingTime = array_sum(explode(' ',microtime()));
|
||||
$endTime = array_sum(explode(' ',microtime()));
|
||||
$time = $endTime - $startingTime;
|
||||
$fpt= fopen ( PATH_DATA . 'log/time.log', 'a' );
|
||||
fwrite( $fpt, sprintf ( "%s.%03d %15s %s %5.3f %s\n", date('H:i:s'), $time, getenv('REMOTE_ADDR'), substr($serverAddr,-4), $time, $_SERVER['REQUEST_URI'] ));
|
||||
fwrite( $fpt, sprintf ( "%s.%03d %15s %s %5.3f %s\n", date('Y-m-d H:i:s'), $time, getenv('REMOTE_ADDR'), substr($serverAddr,-4), $time, $_SERVER['REQUEST_URI'] ));
|
||||
fclose( $fpt);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user