diff options
author | piernov <piernov@piernov.org> | 2016-04-27 20:39:23 +0200 |
---|---|---|
committer | piernov <piernov@piernov.org> | 2016-04-27 20:39:23 +0200 |
commit | 043009630b775251ea20dcfb9316ac68585d1d3a (patch) | |
tree | 78ecc019bd52b07ff28d3af6fbeb04458913775b /craftmine.php | |
parent | 5cba16a79d041000fe482ae69e36577220d63d56 (diff) | |
download | candybox-043009630b775251ea20dcfb9316ac68585d1d3a.tar.gz candybox-043009630b775251ea20dcfb9316ac68585d1d3a.tar.bz2 candybox-043009630b775251ea20dcfb9316ac68585d1d3a.tar.xz candybox-043009630b775251ea20dcfb9316ac68585d1d3a.zip |
Savegame PHP action handling
Diffstat (limited to 'craftmine.php')
-rw-r--r-- | craftmine.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/craftmine.php b/craftmine.php index dd2aa9e..ac187cc 100644 --- a/craftmine.php +++ b/craftmine.php @@ -4,6 +4,7 @@ require_once("inc/mine.inc"); require_once("inc/guild.inc"); require_once("inc/shop.inc"); require_once("inc/craftmine.inc"); +require_once("inc/savegame.inc"); session_start(); // Must be placed *BEFORE* $_SESSION is actually used and *AFTER* all classes are imported @@ -46,6 +47,8 @@ switch($op) { case "getCraftMine": sendCraftMine(); break; case "buildShop": buildShop(); break; case "buyItem": buyItem(); break; + case "saveGame": saveGame(); break; + case "downSave": downSave(); break; default: reportBadRequest(); } |