diff options
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 == '') { |