Update manage_incident.php

This commit is contained in:
jakani24
2024-06-25 20:53:19 +02:00
parent ba9b0dcdec
commit eab6a2cfde

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