1
0
mirror of https://github.com/e107inc/e107.git synced 2025-03-14 01:19:44 +01:00

Better log naming.

This commit is contained in:
CaMer0n 2012-06-22 07:01:32 +00:00
parent e3afab3bb0
commit b1f4c980cc

View File

@ -137,7 +137,7 @@ if (varset($e107_popup) != 1)
{
// Need to log the page info to a text file as CSV data
$logname = e_LOG."logd_".date("z.Y", time()).".csv";
$logname = e_LOG."logd_".date("Y-m-d", time()).".csv";
$logHeader = "Unix time,Date/Time,IP,URL,RenderTime,DbTime,Qrys,Memory-Usage,User-Agent,Request-Method";
$logfp = fopen($logname, 'a+');