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