[Mapbender-commits] r4809 - trunk/mapbender/http/php
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Tue Oct 20 07:55:55 EDT 2009
Author: christoph
Date: 2009-10-20 07:55:55 -0400 (Tue, 20 Oct 2009)
New Revision: 4809
Modified:
trunk/mapbender/http/php/mod_savewmc_server.php
Log:
added content type http header
Modified: trunk/mapbender/http/php/mod_savewmc_server.php
===================================================================
--- trunk/mapbender/http/php/mod_savewmc_server.php 2009-10-20 11:55:24 UTC (rev 4808)
+++ trunk/mapbender/http/php/mod_savewmc_server.php 2009-10-20 11:55:55 UTC (rev 4809)
@@ -48,6 +48,7 @@
else {
// insert WMC into database
$result = $wmc->insert();
+ header("Content-Type: text/x-json");
echo $result["message"];
}
?>
More information about the Mapbender_commits
mailing list