Update log.php

fix directory for lastheard.log
This commit is contained in:
Waldek 2019-09-14 21:12:13 +02:00 committed by GitHub
parent fce9be0452
commit 8d2b00b452
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,7 +39,7 @@ echo "<TR><TH>Date<TH>Time (local)<TH>Slot<TH>TG<TH>TG Name<TH>Callsign (DMR-Id)
// define location and name of logfile
// best practise is write logfile in the directory where this php script is saved because some php installations have problems to read files outside the webserver directories
$handle = fopen("/opt/HBmonitor/lastheard.log","r");
$handle = fopen("/opt/HBmonitor/log/lastheard.log","r");
// import to array
while (($data = fgetcsv ($handle)) !==false)