move deletable and polygons into default website

This commit is contained in:
Brian Quinion
2012-12-03 14:26:29 +00:00
parent df7b81dc06
commit cc24d998e4
2 changed files with 6 additions and 5 deletions

View File

@@ -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');

View File

@@ -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);
?> ?>