1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00
freebsd-ports/net-mgmt/cacti/files/patch-lib__functions.php
Steve Wills 7c413a84c2 net-mgmt/cacti: update to 1.2.0
PR:		234664
Submitted by:	Daniel Austin <freebsd-ports@dan.me.uk> (maintainer)
2019-01-06 16:32:03 +00:00

12 lines
368 B
PHP

--- lib/functions.php.orig 2019-01-03 02:14:26 UTC
+++ lib/functions.php
@@ -818,7 +818,7 @@ function cacti_log_file() {
global $config;
$logfile = read_config_option('path_cactilog');
if ($logfile == '') {
- $logfile = $config['base_path'] . '/log/cacti.log';
+ $logfile = '/var/log/cacti/log';
}
$config['log_path'] = $logfile;
return $logfile;