item search working

This commit is contained in:
color.diff=auto
2021-03-30 13:40:11 -06:00
parent 3eadaac01e
commit 02527a0d65
8 changed files with 181 additions and 89 deletions

View File

@@ -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: /");