mirror of
https://git.freebsd.org/ports.git
synced 2025-06-08 06:10:30 -04:00
- 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)
20 lines
611 B
PHP
20 lines
611 B
PHP
--- utilities.php.orig 2017-08-13 04:06:37 UTC
|
|
+++ utilities.php
|
|
@@ -877,7 +877,7 @@ function utilities_view_logfile() {
|
|
}
|
|
|
|
if ($logfile == '') {
|
|
- $logfile = $config['base_path'] . '/log/cacti.log';
|
|
+ $logfile = '/var/log/cacti/log';
|
|
}
|
|
|
|
/* ================= input validation and session storage ================= */
|
|
@@ -1199,7 +1199,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', '');
|