From 8f4fad79ee980710da07badeb42fd2ee0c58ae74 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Thu, 14 Oct 2010 18:22:06 +0000 Subject: provide url in error_log --- it.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"))) { -- cgit v1.2.3