summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2016-04-07 17:58:32 +0200
committerUrban Müller2016-04-07 17:58:32 +0200
commit5cdb6c1c6d6d083eb4d2e3723b42cc928b037fce (patch)
tree7b05d1729042cf0ae7e93e62254511317969387f
parent28fc7c3a971fb7ecf66a5d7d764007e17d2ff899 (diff)
downloaditools-5cdb6c1c6d6d083eb4d2e3723b42cc928b037fce.tar.gz
itools-5cdb6c1c6d6d083eb4d2e3723b42cc928b037fce.tar.bz2
itools-5cdb6c1c6d6d083eb4d2e3723b42cc928b037fce.zip
pay copy/paste tax
-rw-r--r--it.class2
1 files changed, 1 insertions, 1 deletions
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;