Update manage_incident.php

This commit is contained in:
jakani24
2024-06-25 20:55:35 +02:00
parent ba3b46e9b5
commit bfa19c4278

View File

@@ -164,7 +164,7 @@ if(isset($_GET["upload_evidence"])){
arsort($fileCreationTimes);
// Loop through each file and print its name
foreach ($fileCreationTimes as $file=> $creationTime) {
echo("<tr><td>".str_replace(".evidence","",basename($file))."</td><td><a href='/backup/".basename($file)."' download>Download</a></td></tr>");
echo("<tr><td>".str_replace(".evidence","",basename($file))."</td><td><a href='$directory".basename($file)."' download>Download</a></td></tr>");
}
?>