From: Sarah Hoffmann Date: Mon, 16 Nov 2015 21:06:53 +0000 (+0100) Subject: add API call to get database age X-Git-Tag: deploy~434 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/dc769b0c6b160015c25d433968ea589fd7ddd0e1?ds=sidebyside add API call to get database age --- diff --git a/website/last_update.php b/website/last_update.php new file mode 100644 index 00000000..a8435861 --- /dev/null +++ b/website/last_update.php @@ -0,0 +1,26 @@ +getOne("select * from import_status"); + if (PEAR::isError($sLastUpdate)) + { + statusError("Update status unknown."); + } + echo $sLastUpdate; + exit; +