diff options
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); } |