From: Sarah Hoffmann Date: Sun, 4 Mar 2012 18:06:20 +0000 (+0100) Subject: send fail messages to error log X-Git-Tag: v2.0.0~103 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/a517dd0ccf39b85a22e088ee7b2af857fca66c13 send fail messages to error log --- diff --git a/lib/lib.php b/lib/lib.php index d04c191b..a7c805f7 100644 --- a/lib/lib.php +++ b/lib/lib.php @@ -3,7 +3,7 @@ function fail($sError, $sUserError = false) { if (!$sUserError) $sUserError = $sError; - log('ERROR:'.$sError); + error_log('ERROR: '.$sError); echo $sUserError."\n"; exit; }