summaryrefslogtreecommitdiffstats
path: root/include/cancelgame.php
diff options
context:
space:
mode:
authorArun Persaud <arun@nubati.net>2008-04-26 13:01:41 -0700
committerArun Persaud <arun@nubati.net>2008-04-26 13:01:41 -0700
commit924f395a39eeccbcd54d540613e440cbedd6ba3d (patch)
treef78d88b5285bb2d0bcd87e7281411df18749943b /include/cancelgame.php
parent09515348107d9aab7823a12d31b082a2ebb75555 (diff)
downloade-DoKo-924f395a39eeccbcd54d540613e440cbedd6ba3d.tar.gz
e-DoKo-924f395a39eeccbcd54d540613e440cbedd6ba3d.tar.bz2
e-DoKo-924f395a39eeccbcd54d540613e440cbedd6ba3d.zip
CLEANUP: cleaned up index.php a bit more by introducing an 'action' variable
no more if, but one nice switch statement in index.php Signed-off-by: Arun Persaud <arun@nubati.net>
Diffstat (limited to 'include/cancelgame.php')
-rw-r--r--include/cancelgame.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/cancelgame.php b/include/cancelgame.php
index 9f86142..fba950e 100644
--- a/include/cancelgame.php
+++ b/include/cancelgame.php
@@ -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 */