diff options
author | Danilo G. Baio <dbaio@FreeBSD.org> | 2017-08-14 23:20:01 +0000 |
---|---|---|
committer | Danilo G. Baio <dbaio@FreeBSD.org> | 2017-08-14 23:20:01 +0000 |
commit | b74e71d1ac96a17bfa966bb00202786b84447f53 (patch) | |
tree | bc027ccf0ba474e181bce41c67fce2e28790b3ef /net-mgmt/cacti/files/patch-utilities.php | |
parent | fb59b281a323f44876642847fa9121c533f0ca30 (diff) | |
download | ports-b74e71d1ac96a17bfa966bb00202786b84447f53.tar.gz ports-b74e71d1ac96a17bfa966bb00202786b84447f53.zip |
net-mgmt/cacti: Update to 1.1.17
- Regenerate patches
Changes: https://www.cacti.net/release_notes.php?version=1.1.17
PR: 221499
Submitted by: Daniel Austin <freebsd-ports@dan.me.uk> (maintainer)
Notes
Notes:
svn path=/head/; revision=447970
Diffstat (limited to 'net-mgmt/cacti/files/patch-utilities.php')
-rw-r--r-- | net-mgmt/cacti/files/patch-utilities.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/net-mgmt/cacti/files/patch-utilities.php b/net-mgmt/cacti/files/patch-utilities.php index d00d124b8c34..84e5ca58e739 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-06-05 03:49:49 UTC +--- utilities.php.orig 2017-08-13 04:06:37 UTC +++ utilities.php @@ -877,7 +877,7 @@ function utilities_view_logfile() { - $logfile = $requestedFile; - } - } elseif ($logfile == '') { + } + + if ($logfile == '') { - $logfile = $config['base_path'] . '/log/cacti.log'; + $logfile = '/var/log/cacti/log'; } /* ================= input validation and session storage ================= */ -@@ -1194,7 +1194,7 @@ function utilities_clear_logfile() { +@@ -1199,7 +1199,7 @@ function utilities_clear_logfile() { $logfile = read_config_option('path_cactilog'); if ($logfile == '') { |