Improved gold packages

This commit is contained in:
evader1337
2016-09-14 13:27:49 +02:00
parent a402b87a53
commit 32e016e948
9 changed files with 125 additions and 262 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ $gameinstall = 1;
if(isset($_POST['mhpw'])) {
$password = $_POST['mhpw'];
mysqli_query("UPDATE " . TB_PREFIX . "users SET password = '" . md5($password) . "' WHERE username = 'Multihunter'");
mysqli_query($GLOBALS['link'],"UPDATE " . TB_PREFIX . "users SET password = '" . md5($password) . "' WHERE username = 'Multihunter'");
$wid = $admin->getWref(0, 0);
$uid = 5;
$status = $database->getVillageState($wid);
-8
View File
@@ -5,19 +5,11 @@
$gameinstall = 1;
include ("../../GameEngine/config.php");
include ("../../GameEngine/Database.php");
include ("../../GameEngine/Admin/database.php");
mysqli_connect(SQL_SERVER, SQL_USER, SQL_PASS);
mysqli_select_db(SQL_DB);
$database->populateOasisdata();
$database->populateOasis();
$database->populateOasisUnits2();
header("Location: ../index.php?s=6");
?>