summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}