From 10a159da62d269ad7bd03025f08eac620c69cf1a Mon Sep 17 00:00:00 2001 From: alexichi Date: Sat, 23 Apr 2016 20:32:58 +0200 Subject: add require_once and some cases of the switch --- craftmine.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'craftmine.php') diff --git a/craftmine.php b/craftmine.php index 5df926f..c6bebdb 100644 --- a/craftmine.php +++ b/craftmine.php @@ -2,6 +2,7 @@ session_start(); require_once("inc/mine.inc"); +require_once("inc/guild.inc"); /** * Indique au client une message requete. */ @@ -33,6 +34,8 @@ $op = $_POST["op"]; switch($op) { case "withdrawMine": withdrawMine(); break; case "getCraftMine": sendMine(); break; + case "createGuild": createGuild(); break; + case "hireMiner": hireMiner(); break; default: reportBadRequest(); } -- cgit v1.2.3-70-g09d2