summaryrefslogtreecommitdiff
path: root/it.class
diff options
context:
space:
mode:
authorUrban Müller2007-12-10 03:04:36 +0000
committerUrban Müller2007-12-10 03:04:36 +0000
commitf2f1f7a8c93c15b55c0fd87c767d09b32bb027b3 (patch)
tree5c038d2f260084e4489b40683e92bea501047340 /it.class
parent601f33dd781a202800d8af1d23c63feea06b8e3e (diff)
downloaditools-f2f1f7a8c93c15b55c0fd87c767d09b32bb027b3.tar.gz
itools-f2f1f7a8c93c15b55c0fd87c767d09b32bb027b3.tar.bz2
itools-f2f1f7a8c93c15b55c0fd87c767d09b32bb027b3.zip
datestamps for alert.log
Diffstat (limited to 'it.class')
-rw-r--r--it.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it.class b/it.class
index cc0de0a..10cede4 100644
--- a/it.class
+++ b/it.class
@@ -217,7 +217,7 @@ function error($p = array(), $body = null, $to = null) # $body and $to deprecate
if (($fh = fopen("/tmp/alertdata/alert.log", "a")))
{
- fputs($fh, $p['title'] . " in " . ($trace ? $trace : "{$p['file']}:{$p['line']}") . " Url: $url\n");
+ fputs($fh, it::date() . " " . $p['title'] . " in " . ($trace ? $trace : "{$p['file']}:{$p['line']}") . " Url: $url\n");
fclose($fh);
@chmod("/tmp/alertdata/alert.log", 0777);
}