summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFranco Nogarin2013-07-09 05:57:26 (GMT)
committer Franco Nogarin2013-07-09 05:57:26 (GMT)
commit03d7b015711368154f8e2800c57fe04ec1378f9d (patch)
tree6f97e0bb5be676fbcbeb0294267881cfe43be1e9
parent27c0c8d9640e92c1962acf56a6437f8c714a6b41 (diff)
added url from config
-rw-r--r--sparcsmap/js/evolution.js.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/sparcsmap/js/evolution.js.php b/sparcsmap/js/evolution.js.php
index 7e71938..8a911a2 100644
--- a/sparcsmap/js/evolution.js.php
+++ b/sparcsmap/js/evolution.js.php
@@ -1,5 +1,5 @@
<?php
- $geoserver_url = 'http://gs2.vm.sparcsonline.com/geoserver/ows?service=wms&version=1.3.0&request=GetCapabilities';
+ $geoserver_url = variable_get('sparcsmap_geoserver_url', 'error');
$output = '
var tree, mapPanel;
@@ -66,3 +66,4 @@
});
';
+ print $output; \ No newline at end of file