ports/net-mgmt/cacti/files/patch-lib__functions.php
Vanilla I. Shu c187b3a72d Update to 1.0.0, and adds support for php7.
PR:		216801
Submitted by:	maintainer
2017-02-10 15:50:53 +00:00

11 lines
458 B
PHP

--- lib/functions.php.orig 2017-02-04 14:16:43.886716000 +0000
+++ lib/functions.php 2017-02-04 14:22:18.219392000 +0000
@@ -649,7 +649,7 @@
/* 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) */