From 8d2b00b452d05ac16fef28fe9739a481e809afc4 Mon Sep 17 00:00:00 2001 From: Waldek Date: Sat, 14 Sep 2019 21:12:13 +0200 Subject: [PATCH] Update log.php fix directory for lastheard.log --- utils/log.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/log.php b/utils/log.php index c4db149..f4300d1 100644 --- a/utils/log.php +++ b/utils/log.php @@ -39,7 +39,7 @@ echo "DateTime (local)SlotTGTG NameCallsign (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)