mirror of
https://gitlab.com/hashborgir/d2tools.git
synced 2025-09-18 09:32:08 +00:00
Latest working copy, needs testing on windows
This commit is contained in:
@@ -50,6 +50,10 @@ if (file_exists(APP_DB)) {
|
||||
$sql = "SELECT * FROM D2Modder";
|
||||
$mods = PDO_FetchAll($sql);
|
||||
|
||||
if (empty($mods)){
|
||||
header("Location: /src/D2Config.php");
|
||||
}
|
||||
|
||||
if (!empty($_POST)) {
|
||||
$sql = "SELECT * FROM D2Modder WHERE `modname`='{$_POST['modname']}'";
|
||||
$mod = PDO_FetchRow($sql);
|
||||
|
Reference in New Issue
Block a user