summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2010-10-14 18:22:06 +0000
committerUrban Müller2010-10-14 18:22:06 +0000
commit8f4fad79ee980710da07badeb42fd2ee0c58ae74 (patch)
tree5c8f3fb3241489930b37576475ae6b43aa283627
parent4802489e5ac837b69aa5a21dd66145aa35bbca0a (diff)
downloaditools-8f4fad79ee980710da07badeb42fd2ee0c58ae74.tar.gz
itools-8f4fad79ee980710da07badeb42fd2ee0c58ae74.tar.bz2
itools-8f4fad79ee980710da07badeb42fd2ee0c58ae74.zip
provide url in error_log
-rw-r--r--it.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it.class b/it.class
index b02892d..26f9dd7 100644
--- a/it.class
+++ b/it.class
@@ -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")))
{