aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--craftmine.php4
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();
}