|
|
@@ -74,7 +74,7 @@ class Route_UrlAction_WmsGenerate extends RouteBase {
|
|
|
$DataSource=$DataSourceArr[0];
|
|
|
$pathinfo = pathinfo($DataSource);
|
|
|
if (!preg_match('/.*http.*/', $DataSource)) {
|
|
|
- if (in_array($pathinfo['extension'], array("tif","tiff","TIF","TIFF"))) {
|
|
|
+ if (in_array($pathinfo['extension'], array("tif","tiff","TIF","TIFF","gml"))) {
|
|
|
$filesToCopy[] = basename($DataSource);
|
|
|
} else {
|
|
|
$file=basename($DataSource,".shp");
|