diff options
author | Urban Müller | 2010-10-14 18:22:06 +0000 |
---|---|---|
committer | Urban Müller | 2010-10-14 18:22:06 +0000 |
commit | 8f4fad79ee980710da07badeb42fd2ee0c58ae74 (patch) | |
tree | 5c8f3fb3241489930b37576475ae6b43aa283627 | |
parent | 4802489e5ac837b69aa5a21dd66145aa35bbca0a (diff) | |
download | itools-8f4fad79ee980710da07badeb42fd2ee0c58ae74.tar.gz itools-8f4fad79ee980710da07badeb42fd2ee0c58ae74.tar.bz2 itools-8f4fad79ee980710da07badeb42fd2ee0c58ae74.zip |
provide url in error_log
-rw-r--r-- | it.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -240,7 +240,7 @@ static function error($p = array(), $body = null, $to = null) # $body and $to de } if ($_SERVER['REMOTE_ADDR']) - error_log("it::error: " . $p['title']); + error_log("it::error: " . $p['title'] . " Url: $url"); if (($fh = fopen("/tmp/alertdata/alert.log", "a"))) { |