From 24f11841aeb43329f220ec33a770eed3498c3816 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 fe0f038839..3c73e77fde 100644 --- a/lizmap/modules/admin/controllers/logs.classic.php +++ b/lizmap/modules/admin/controllers/logs.classic.php @@ -37,7 +37,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)) {