Update log_backups.php

This commit is contained in:
jakani24
2024-06-08 17:42:37 +02:00
parent 5ebda75c9a
commit d17202fccb

View File

@@ -43,10 +43,10 @@ if($perms[2]!=="1"){
<tr><th>Log backup</th><th>Download</th></tr>
<?php
// Define the directory to search for .csv (our log backup) files
$directory = '/var/www/html/backups';
$directory = '/var/www/html/backup/';
// Use glob to find all .csv files in the specified directory
$csvFiles = glob($directory . '/*.csv');
$csvFiles = glob($directory . '*.csv');
// Loop through each file and print its name
foreach ($csvFiles as $file) {