diff options
author | alexichi <alexbankai96@gmail.com> | 2016-04-23 20:32:58 +0200 |
---|---|---|
committer | alexichi <alexbankai96@gmail.com> | 2016-04-23 20:32:58 +0200 |
commit | 10a159da62d269ad7bd03025f08eac620c69cf1a (patch) | |
tree | f8e4ee79fa3d5850710c5198ab7d0ed87c832d72 /craftmine.php | |
parent | 8b3612fce76d3d331acc7384c04bbfc83fd26470 (diff) | |
download | candybox-10a159da62d269ad7bd03025f08eac620c69cf1a.tar.gz candybox-10a159da62d269ad7bd03025f08eac620c69cf1a.tar.bz2 candybox-10a159da62d269ad7bd03025f08eac620c69cf1a.tar.xz candybox-10a159da62d269ad7bd03025f08eac620c69cf1a.zip |
add require_once and some cases of the switch
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 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(); } |