]> git.openstreetmap.org Git - nominatim.git/blobdiff - website/reverse.php
add logEnd to reverse.php, just like search.php
[nominatim.git] / website / reverse.php
old mode 100755 (executable)
new mode 100644 (file)
index 963f750..51a8e90
@@ -1,7 +1,5 @@
 <?php
-@define('CONST_ConnectionBucket_PageType', 'Reverse');
 
-require_once(dirname(dirname(__FILE__)).'/settings/settings.php');
 require_once(CONST_BasePath.'/lib/init-website.php');
 require_once(CONST_BasePath.'/lib/log.php');
 require_once(CONST_BasePath.'/lib/PlaceLookup.php');
@@ -68,6 +66,7 @@ if (isset($aPlace)) {
     $aPlace = array();
 }
 
+logEnd($oDB, $hLog, count($aPlace) ? 1 : 0);
 
 if (CONST_Debug) {
     var_dump($aPlace);