mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 17:46:38 -04:00
Changelog: https://www.cacti.net/release_notes.php?version=1.2.16 PR: 251673 Submitted by: Michael Muenz <m.muenz@gmail.com> (maintainer)
20 lines
523 B
PHP
20 lines
523 B
PHP
--- utilities.php.orig 2020-11-30 18:19:51 UTC
|
|
+++ utilities.php
|
|
@@ -1043,7 +1043,7 @@ function utilities_view_logfile() {
|
|
}
|
|
|
|
if ($logfile == '') {
|
|
- $logfile = 'cacti.log';
|
|
+ $logfile = '/var/log/cacti/log';
|
|
}
|
|
|
|
$logname = '';
|
|
@@ -1372,7 +1372,7 @@ function utilities_clear_logfile() {
|
|
$logfile = read_config_option('path_cactilog');
|
|
|
|
if ($logfile == '') {
|
|
- $logfile = './log/cacti.log';
|
|
+ $logfile = '/var/log/cacti/log';
|
|
}
|
|
|
|
html_start_box(__('Clear Cacti Log'), '100%', '', '3', 'center', '');
|