mirror of
https://gitlab.com/hashborgir/d2tools.git
synced 2025-11-29 05:01:36 -06:00
Mod switching fixed
This commit is contained in:
@@ -68,7 +68,8 @@ if (file_exists(APP_DB)) {
|
||||
$sql = "UPDATE `D2Modder` SET `lastused`=$time WHERE modname='{$_POST['modname']}'";
|
||||
PDO_Execute($sql);
|
||||
$_SESSION['modname'] = $mod['modname'];
|
||||
$_SESSION['path'] = $mod['path'];
|
||||
$_SESSION['path'] = $mod['path'];
|
||||
|
||||
header("Location: /");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user