Skip to content

Commit cf7fe03

Browse files
committed
fixed wrong path of PHP script in Javascript demo
1 parent 9e26dd3 commit cf7fe03

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/chapters/geoext_client.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ live even easier, we are going to use the GeoExt.data.FeatureStore:
215215
],
216216
proxy: new GeoExt.data.ProtocolProxy({
217217
protocol: new OpenLayers.Protocol.HTTP({
218-
url: '/pgrouting-workshop/php/pgrouting.php',
218+
url: './php/pgrouting.php',
219219
format: new OpenLayers.Format.GeoJSON({
220220
internalProjection: epsg_900913,
221221
externalProjection: epsg_4326

web/routing-final.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
],
103103
proxy: new GeoExt.data.ProtocolProxy({
104104
protocol: new OpenLayers.Protocol.HTTP({
105-
url: "/pgrouting-workshop/php/pgrouting.php",
105+
url: "./php/pgrouting.php",
106106
format: new OpenLayers.Format.GeoJSON({
107107
internalProjection: epsg_900913,
108108
externalProjection: epsg_4326

0 commit comments

Comments
 (0)