Skip to content

Commit

Permalink
use logPath instead of varPath./log
Browse files Browse the repository at this point in the history
  • Loading branch information
nworr committed Aug 1, 2023
1 parent 68ab410 commit 4f145f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lizmap/modules/admin/controllers/logs.classic.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit 4f145f8

Please sign in to comment.