ideenmelder
Walter Hupfeld 3 months ago
parent 91a8c4e567
commit 8ba6e62610

@ -1,6 +1,6 @@
MIT License
Copyright (c) 2021 Walter Hupfeld
Copyright (c) 2024 Walter Hupfeld
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

@ -35,8 +35,9 @@
$stmt->execute();
$stmt = $db->prepare("SELECT * FROM files where loc_id = :loc_id");
$stmt->bindValue(":loc_id", $numDelete, SQLITE3_TEXT);
$stmt->bindValue(":loc_id", $numDelete, PDO::PARAM_INT);
$result = $stmt->execute();
if ($row = $result->fetch(PDO::FETCH_ASSOC)) {
$strFilename = $row['filename'];
$strFilename = $uploaddir . $strFilename;

Binary file not shown.

Binary file not shown.

Binary file not shown.

@ -48,7 +48,7 @@ $stmt = $db->prepare($strSQL);
$stmt->bindValue(':username', $strUsername);
$stmt->bindValue(':passwordhash', $strPasswordHash);
$stmt->execute();
exit;
$db->query("UPDATE config SET value= '$strUploaddir' WHERE key='uploaddir'");
$db->query("UPDATE config SET value= '$fileGeojson' WHERE key='fileGeojson'");

Loading…
Cancel
Save