From dd9118bb312521b6d9dab02740f995c76547b8e2 Mon Sep 17 00:00:00 2001 From: Martin Ambrus Date: Thu, 19 Oct 2017 10:38:47 +0200 Subject: [PATCH] fix: manual content-type for map scroll --- ajax.php | 1 + todo.txt | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ajax.php b/ajax.php index e992cdee..e6a38155 100644 --- a/ajax.php +++ b/ajax.php @@ -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']); diff --git a/todo.txt b/todo.txt index 0aff34b0..2737da53 100644 --- a/todo.txt +++ b/todo.txt @@ -25,4 +25,6 @@ - check aliance invitation accepting - apparently it doesn't work too well on first try? - normalize forum tables - varchar is used for numeric values and is joined with int field - task 1 => construct woodcutter will not reload the page when finished, so it would still seem that woodcutter build is in progress -- it's possible to train 2 senators - when 1 is trained, another one is possible to be trained \ No newline at end of file +- it's possible to train 2 senators - when 1 is trained, another one is possible to be trained +- add registered date into user details in Admin +- npc shop button is missing from settlers training (palace) \ No newline at end of file