mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-02 06:03:50 +00:00
7c413a84c2
PR: 234664 Submitted by: Daniel Austin <freebsd-ports@dan.me.uk> (maintainer)
12 lines
368 B
PHP
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;
|