From d55e86b404a3f274f9eb2576ab14eb6197428859 Mon Sep 17 00:00:00 2001 From: rmartin Date: Tue, 1 Aug 2023 14:30:43 +0200 Subject: [PATCH] use logPath instead of varPath./log --- lizmap/modules/admin/controllers/logs.classic.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lizmap/modules/admin/controllers/logs.classic.php b/lizmap/modules/admin/controllers/logs.classic.php index 519db28a6a..37e358eb08 100644 --- a/lizmap/modules/admin/controllers/logs.classic.php +++ b/lizmap/modules/admin/controllers/logs.classic.php @@ -46,7 +46,7 @@ public function index() $detailNumber = $dao->countBy($conditions); // Get last error log - $logPath = jApp::varPath('log/errors.log'); + $logPath = jApp::logPath('errors.log'); $errorLog = ''; $lines = 50; if (is_file($logPath)) {