mirror of
https://gitlab.com/hashborgir/d2tools.git
synced 2025-09-18 09:32:08 +00:00
item search working
This commit is contained in:
@@ -64,7 +64,9 @@ if (file_exists(APP_DB)) {
|
||||
unlink($_POST['modname'] . ".db");
|
||||
header("Refresh:0");
|
||||
} else {
|
||||
|
||||
$time = time();
|
||||
$sql = "UPDATE `D2Modder` SET `lastused`=$time WHERE modname='{$_POST['modname']}'";
|
||||
PDO_Execute($sql);
|
||||
$_SESSION['modname'] = $mod['modname'];
|
||||
$_SESSION['path'] = $mod['path'];
|
||||
header("Location: /");
|
||||
|
Reference in New Issue
Block a user