diff options
-rw-r--r-- | do.php | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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']);
|