X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/40cb17d2995baaba6bec299d4e6dc65b25dbdc28..1260b0c95d0551a1677219f48a0651390e6357d4:/lib-php/website/status.php?ds=sidebyside diff --git a/lib-php/website/status.php b/lib-php/website/status.php index 03e56f65..8ab11cc4 100644 --- a/lib-php/website/status.php +++ b/lib-php/website/status.php @@ -1,4 +1,12 @@ 0, 'message' => 'OK', + 'server' => gethostname(), 'data_updated' => (new DateTime('@'.$epoch))->format(DateTime::RFC3339), 'software_version' => CONST_NominatimVersion ); @@ -38,7 +47,8 @@ try { if ($sOutputFormat == 'json') { $aResponse = array( 'status' => $oErr->getCode(), - 'message' => $oErr->getMessage() + 'message' => $oErr->getMessage(), + 'server' => gethostname() ); javascript_renderData($aResponse); } else {