diff options
author | Urban Müller | 2016-04-07 17:58:32 +0200 |
---|---|---|
committer | Urban Müller | 2016-04-07 17:58:32 +0200 |
commit | 5cdb6c1c6d6d083eb4d2e3723b42cc928b037fce (patch) | |
tree | 7b05d1729042cf0ae7e93e62254511317969387f | |
parent | 28fc7c3a971fb7ecf66a5d7d764007e17d2ff899 (diff) | |
download | itools-5cdb6c1c6d6d083eb4d2e3723b42cc928b037fce.tar.gz itools-5cdb6c1c6d6d083eb4d2e3723b42cc928b037fce.tar.bz2 itools-5cdb6c1c6d6d083eb4d2e3723b42cc928b037fce.zip |
pay copy/paste tax
-rw-r--r-- | it.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |