From 5cdb6c1c6d6d083eb4d2e3723b42cc928b037fce Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Thu, 7 Apr 2016 17:58:32 +0200 Subject: pay copy/paste tax --- it.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/it.class b/it.class index 4060b17..4fdb8bc 100644 --- a/it.class +++ b/it.class @@ -250,7 +250,7 @@ static function error($p = array()) if ($_SERVER['REMOTE_ADDR']) # additional entry in log/error_log error_log("it::error: " . $p['title'] . " Url: $url"); - file_put_contents("/tmp/alertdata/alert.log", it::date() . " " . $p['title'] . " in " . ($trace ? $trace : "{$p['file']}:{$p['line']} Url: $url") . "\n", FILE_APPEND); + file_put_contents("/tmp/alertdata/alert.log", it::date() . " " . $p['title'] . " in " . ($trace ? $trace : "{$p['file']}:{$p['line']}") . " Url: $url\n", FILE_APPEND); @chmod("/tmp/alertdata/alert.log", 0777); return null; -- cgit v1.2.3