summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--do.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/do.php b/do.php
index a8ad136..3a12661 100644
--- a/do.php
+++ b/do.php
@@ -3,11 +3,17 @@ session_start();
include "includes/maps.php";
include "includes/db.inc.php";
-
include "includes/datas.php";
+//Auto login;
+include_once("globe.php");
+if ($_SESSION['accepted'] <> 1)
+ if ($_COOKIE['doLogin'] == 'yes')
+ CookieLogin();
+
// encode array $json to JSON string
+
if ($_GET['act'] == "getmap") {
$map = GenerateMapByCode($_GET['mapcode']);