fix: manual content-type for map scroll

This commit is contained in:
Martin Ambrus
2017-10-19 10:38:47 +02:00
parent 383aa36e54
commit dd9118bb31
2 changed files with 4 additions and 1 deletions
+1
View File
@@ -11,6 +11,7 @@
switch($_GET['f']) {
case 'k7':
header('Content-Type: application/json');
$x = preg_replace("/[^a-zA-Z0-9_-]/","",$_GET['x']);
$y = preg_replace("/[^a-zA-Z0-9_-]/","",$_GET['y']);
$xx = preg_replace("/[^a-zA-Z0-9_-]/","",$_GET['xx']);