CLEANUP: cleaned up index.php a bit more by introducing an 'action' variable
[e-DoKo.git] / include / cancelgame.php
index 9f86142d66c0ec9b99227afd0e1fba70610fc57e..fba950ee7a20934306626f44599835ae063ec3e1 100644 (file)
@@ -7,6 +7,14 @@ if(!isset($HOST))
 
 output_status();
 
+if(!myisset("me"))
+  {
+    echo "Hmm, you really shouldn't mess with the urls.<br />\n";
+    output_footer();
+    DB_close();
+    exit();
+  }
+
 $me = $_REQUEST["me"];
 
 /* test for valid ID */