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