diff options
author | Urban Müller | 2007-12-10 03:04:36 +0000 |
---|---|---|
committer | Urban Müller | 2007-12-10 03:04:36 +0000 |
commit | f2f1f7a8c93c15b55c0fd87c767d09b32bb027b3 (patch) | |
tree | 5c038d2f260084e4489b40683e92bea501047340 /it.class | |
parent | 601f33dd781a202800d8af1d23c63feea06b8e3e (diff) | |
download | itools-f2f1f7a8c93c15b55c0fd87c767d09b32bb027b3.tar.gz itools-f2f1f7a8c93c15b55c0fd87c767d09b32bb027b3.tar.bz2 itools-f2f1f7a8c93c15b55c0fd87c767d09b32bb027b3.zip |
datestamps for alert.log
Diffstat (limited to 'it.class')
-rw-r--r-- | it.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } |