summaryrefslogtreecommitdiffstats
path: root/ajax/misc.ajax.php
diff options
context:
space:
mode:
Diffstat (limited to 'ajax/misc.ajax.php')
-rw-r--r--ajax/misc.ajax.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/ajax/misc.ajax.php b/ajax/misc.ajax.php
index 64eeccc..76a3158 100644
--- a/ajax/misc.ajax.php
+++ b/ajax/misc.ajax.php
@@ -1,6 +1,8 @@
<?
ob_start("ob_gzhandler");
+include_once('../includes/maps.php');
+
if ($_GET[r] == 'solution') {
solutionRespond();
exit;
@@ -10,7 +12,6 @@ function solutionRespond() {
session_start();
session_write_close();
if ($_SESSION['accepted'] != 1) exit;
- include_once('../includes/maps.php');
$userID = $_SESSION['userID'];
$mapID = $_GET['mapid'] * 1;