diff options
author | alexichi <alexbankai96@gmail.com> | 2016-04-25 10:25:46 +0200 |
---|---|---|
committer | alexichi <alexbankai96@gmail.com> | 2016-04-25 10:25:46 +0200 |
commit | 3ece645cc83e36aaa36c0258afa0f1b36eb13ca2 (patch) | |
tree | eda51cf0e00dd447c128b7b788627491c84e19e0 /inc | |
parent | 8984aa2ecca7feacec93db35aee1570e40fa5123 (diff) | |
download | candybox-3ece645cc83e36aaa36c0258afa0f1b36eb13ca2.tar.gz candybox-3ece645cc83e36aaa36c0258afa0f1b36eb13ca2.tar.bz2 candybox-3ece645cc83e36aaa36c0258afa0f1b36eb13ca2.tar.xz candybox-3ece645cc83e36aaa36c0258afa0f1b36eb13ca2.zip |
remove useless files and add .gitignore to not see them again
Diffstat (limited to 'inc')
-rw-r--r-- | inc/mine.inc~ | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/inc/mine.inc~ b/inc/mine.inc~ deleted file mode 100644 index a01d768..0000000 --- a/inc/mine.inc~ +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -function initCraftMine() { - $_SESSION["mine"] = array("mine" => 0, "or" => 0, "miners" => 1); -} - -function withdrawMine() { - $mine = $_SESSION["mine"]; - $_SESSION["mine"]["gold"] += $mine["mine"]; - $_SESSION["mine"]["mine"] = 0; -} - -function sendMine() { - if(empty($_SESSION["mine"])) initMine(); - $mine = $_SESSION["mine"]; - echo $mine["gold"]; -} - - -?> |