Update manage_incident.php

This commit is contained in:
jakani24
2024-06-25 20:54:08 +02:00
parent eab6a2cfde
commit 9a81483720

View File

@@ -154,7 +154,7 @@ if(isset($_GET["upload_evidence"])){
<tr><th>File</th><th>Download</th></tr> <tr><th>File</th><th>Download</th></tr>
<?php <?php
$incident_id=htmlspecialchars($_GET["incident_id"]); $incident_id=htmlspecialchars($_GET["incident_id"]);
$directory = "/var/www/html/incidents/$incident_id/evidence"; $directory = "/var/www/html/incidents/$incident_id/evidence/";
$csvFiles = glob($directory . '*.evidence'); $csvFiles = glob($directory . '*.evidence');
$fileCreationTimes = []; $fileCreationTimes = [];
//sort the files //sort the files