diff options
author | piernov <piernov@piernov.org> | 2016-04-24 22:12:56 +0200 |
---|---|---|
committer | piernov <piernov@piernov.org> | 2016-04-24 22:12:56 +0200 |
commit | e82fa2d62a1f0a6d0496c54425633042d972eb83 (patch) | |
tree | c257c908818cb8e85359b25fb96e696eb66b1eae /craftmine.php | |
parent | 5a688c8c35d4a2bcca716aa7da1379c0abd48d3f (diff) | |
download | candybox-e82fa2d62a1f0a6d0496c54425633042d972eb83.tar.gz candybox-e82fa2d62a1f0a6d0496c54425633042d972eb83.tar.bz2 candybox-e82fa2d62a1f0a6d0496c54425633042d972eb83.tar.xz candybox-e82fa2d62a1f0a6d0496c54425633042d972eb83.zip |
Add shop related PHP request handling
Diffstat (limited to 'craftmine.php')
-rw-r--r-- | craftmine.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/craftmine.php b/craftmine.php index 5df926f..4582f4e 100644 --- a/craftmine.php +++ b/craftmine.php @@ -2,6 +2,8 @@ session_start(); require_once("inc/mine.inc"); +require_once("inc/shop.inc"); + /** * Indique au client une message requete. */ @@ -33,6 +35,8 @@ $op = $_POST["op"]; switch($op) { case "withdrawMine": withdrawMine(); break; case "getCraftMine": sendMine(); break; + case "buildShop": buildShop(); break; + case "buyItem": buyItem(); break; default: reportBadRequest(); } |