diff options
author | Silvio <silvio@socioambiental.org> | 2012-11-28 18:04:03 -0200 |
---|---|---|
committer | Silvio <silvio@socioambiental.org> | 2012-11-28 18:04:03 -0200 |
commit | cd63cd589813bac1408205cc0621baf3477a5d5c (patch) | |
tree | f1dee52190a7fdc922699433ab29879912f7ea2c | |
parent | 035e9195be502b917118ca70651232c38fbee249 (diff) | |
download | gmap_arcgis-cd63cd589813bac1408205cc0621baf3477a5d5c.tar.gz gmap_arcgis-cd63cd589813bac1408205cc0621baf3477a5d5c.tar.bz2 |
Using QUERY_STRING instead of argv
-rw-r--r-- | gmap_arcgis.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gmap_arcgis.module b/gmap_arcgis.module index 3387dd7..5c75a67 100644 --- a/gmap_arcgis.module +++ b/gmap_arcgis.module @@ -273,7 +273,7 @@ function gmap_arcgis_mapserver() { $pattern = '/_[0-9]*._callback/'; $dynamic = FALSE; - $request = $_SERVER['argv'][0]; + $request = $_SERVER['QUERY_STRING']; $query = str_replace('q=gmap_arcgis/mapserver/', '', $request); $query = preg_replace('/&/', '?', $query, 1); $dest = $base . $query; |