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>
<?php
$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');
$fileCreationTimes = [];
//sort the files