From e82fa2d62a1f0a6d0496c54425633042d972eb83 Mon Sep 17 00:00:00 2001 From: piernov Date: Sun, 24 Apr 2016 22:12:56 +0200 Subject: Add shop related PHP request handling --- craftmine.php | 4 ++++ 1 file changed, 4 insertions(+) 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(); } -- cgit v1.2.3-70-g09d2