mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-26 11:08:13 +00:00
move deletable and polygons into default website
This commit is contained in:
@@ -568,6 +568,8 @@
|
|||||||
@symlink(CONST_BasePath.'/website/reverse.php', $sTargetDir.'/reverse.php');
|
@symlink(CONST_BasePath.'/website/reverse.php', $sTargetDir.'/reverse.php');
|
||||||
@symlink(CONST_BasePath.'/website/search.php', $sTargetDir.'/search.php');
|
@symlink(CONST_BasePath.'/website/search.php', $sTargetDir.'/search.php');
|
||||||
@symlink(CONST_BasePath.'/website/search.php', $sTargetDir.'/index.php');
|
@symlink(CONST_BasePath.'/website/search.php', $sTargetDir.'/index.php');
|
||||||
|
@symlink(CONST_BasePath.'/website/deletable.php', $sTargetDir.'/deletable.php');
|
||||||
|
@symlink(CONST_BasePath.'/website/polygons.php', $sTargetDir.'/polygons.php');
|
||||||
@symlink(CONST_BasePath.'/website/images', $sTargetDir.'/images');
|
@symlink(CONST_BasePath.'/website/images', $sTargetDir.'/images');
|
||||||
@symlink(CONST_BasePath.'/website/js', $sTargetDir.'/js');
|
@symlink(CONST_BasePath.'/website/js', $sTargetDir.'/js');
|
||||||
@symlink(CONST_BasePath.'/website/css', $sTargetDir.'/css');
|
@symlink(CONST_BasePath.'/website/css', $sTargetDir.'/css');
|
||||||
|
|||||||
@@ -9,11 +9,10 @@
|
|||||||
|
|
||||||
$sSQL = "select placex.place_id, calculated_country_code as country_code, name->'name' as name, i.* from placex, import_polygon_delete i where placex.osm_id = i.osm_id and placex.osm_type = i.osm_type and placex.class = i.class and placex.type = i.type";
|
$sSQL = "select placex.place_id, calculated_country_code as country_code, name->'name' as name, i.* from placex, import_polygon_delete i where placex.osm_id = i.osm_id and placex.osm_type = i.osm_type and placex.class = i.class and placex.type = i.type";
|
||||||
$aPolygons = $oDB->getAll($sSQL);
|
$aPolygons = $oDB->getAll($sSQL);
|
||||||
if (PEAR::isError($aPolygons))
|
if (PEAR::isError($aPolygons))
|
||||||
{
|
{
|
||||||
failInternalError("Could not get small viewbox.", $sSQL, $aPolygons);
|
failInternalError("Could not get list of deleted OSM elements.", $sSQL, $aPolygons);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//var_dump($aPolygons);
|
//var_dump($aPolygons);
|
||||||
?>
|
?>
|
||||||
|
|||||||
Reference in New Issue
Block a user