ports/net-mgmt/cacti/files/patch-lib__functions.php
Sunpoet Po-Chuan Hsieh 25cb699d38 Update to 1.1.5
- Regenerate patch files with makepatch:

Changes:	http://www.cacti.net/changelog.php
PR:		218949
Submitted by:	Daniel Austin <freebsd-ports@dan.me.uk> (maintainer)
2017-04-29 15:44:00 +00:00

11 lines
445 B
PHP

--- lib/functions.php.orig 2017-04-26 00:30:09 UTC
+++ lib/functions.php
@@ -594,7 +594,7 @@ function cacti_log($string, $output = fa
/* 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) */