mirror of
https://github.com/ShaYmez/HBmonitor.git
synced 2024-11-25 01:08:43 -05:00
Update log.php
fix directory for lastheard.log
This commit is contained in:
parent
fce9be0452
commit
8d2b00b452
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user