diff options
author | Kai Knoblich <kai@FreeBSD.org> | 2020-12-17 09:44:04 +0000 |
---|---|---|
committer | Kai Knoblich <kai@FreeBSD.org> | 2020-12-17 09:44:04 +0000 |
commit | bf0ae081ec2949dbaa8f902fc0820b12889e2c1f (patch) | |
tree | ec6aa8fae326b793c38465c40b22edc772c64b7a /net-mgmt/cacti/files/patch-utilities.php | |
parent | 80c230de5c021333b6bf695601fddbe24968ed0e (diff) | |
download | ports-bf0ae081ec2949dbaa8f902fc0820b12889e2c1f.tar.gz ports-bf0ae081ec2949dbaa8f902fc0820b12889e2c1f.zip |
MFH: r558224
net-mgmt/cacti: Update to 1.2.16
Changelog:
https://www.cacti.net/release_notes.php?version=1.2.16
PR: 251673
Submitted by: Michael Muenz <m.muenz@gmail.com> (maintainer)
Approved by: ports-secteam bugfix blanket
Notes
Notes:
svn path=/branches/2020Q4/; revision=558272
Diffstat (limited to 'net-mgmt/cacti/files/patch-utilities.php')
-rw-r--r-- | net-mgmt/cacti/files/patch-utilities.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/net-mgmt/cacti/files/patch-utilities.php b/net-mgmt/cacti/files/patch-utilities.php index 84e5ca58e739..b1b6455ef720 100644 --- a/net-mgmt/cacti/files/patch-utilities.php +++ b/net-mgmt/cacti/files/patch-utilities.php @@ -1,15 +1,15 @@ ---- utilities.php.orig 2017-08-13 04:06:37 UTC +--- utilities.php.orig 2020-11-30 18:19:51 UTC +++ utilities.php -@@ -877,7 +877,7 @@ function utilities_view_logfile() { +@@ -1043,7 +1043,7 @@ function utilities_view_logfile() { } - + if ($logfile == '') { -- $logfile = $config['base_path'] . '/log/cacti.log'; +- $logfile = 'cacti.log'; + $logfile = '/var/log/cacti/log'; } - - /* ================= input validation and session storage ================= */ -@@ -1199,7 +1199,7 @@ function utilities_clear_logfile() { + + $logname = ''; +@@ -1372,7 +1372,7 @@ function utilities_clear_logfile() { $logfile = read_config_option('path_cactilog'); if ($logfile == '') { |