freebsd-ports/net-mgmt/cacti/files/patch-lib__functions.php
Danilo G. Baio b74e71d1ac 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)
2017-08-14 23:20:01 +00:00

11 lines
459 B
PHP

--- lib/functions.php.orig 2017-08-13 04:06:37 UTC
+++ lib/functions.php
@@ -615,7 +615,7 @@ function cacti_log($string, $output = false, $environ
/* Log to Logfile */
if (($logdestination == 1 || $logdestination == 2) && read_config_option('log_verbosity') != POLLER_VERBOSITY_NONE) {
if ($logfile == '') {
- $logfile = $config['base_path'] . '/log/cacti.log';
+ $logfile = '/var/log/cacti/log';
}
/* echo the data to the log (append) */