From cc24d998e48925bd43730342b0428986f7a51ec8 Mon Sep 17 00:00:00 2001 From: Brian Quinion Date: Mon, 3 Dec 2012 14:26:29 +0000 Subject: [PATCH] move deletable and polygons into default website --- utils/setup.php | 2 ++ website/deletable.php | 9 ++++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/utils/setup.php b/utils/setup.php index 8cbb2978..3fe5a7ab 100755 --- a/utils/setup.php +++ b/utils/setup.php @@ -568,6 +568,8 @@ @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.'/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/js', $sTargetDir.'/js'); @symlink(CONST_BasePath.'/website/css', $sTargetDir.'/css'); diff --git a/website/deletable.php b/website/deletable.php index 8d3fa823..4e2e623c 100755 --- a/website/deletable.php +++ b/website/deletable.php @@ -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"; $aPolygons = $oDB->getAll($sSQL); - if (PEAR::isError($aPolygons)) - { - failInternalError("Could not get small viewbox.", $sSQL, $aPolygons); - } - + if (PEAR::isError($aPolygons)) + { + failInternalError("Could not get list of deleted OSM elements.", $sSQL, $aPolygons); + } //var_dump($aPolygons); ?> -- 2.39.5