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)) {