ports/net-mgmt/cacti/files/patch-include__global_settings.php
Steve Wills d130a123af net-mgmt/cacti: fix typo
PR:		234735
Submitted by:	Daniel Austin <freebsd-ports@dan.me.uk> (maintainer)
Reported by:	Arnaud de Prelle <arnaud@pnzone.net>
2019-01-08 18:13:55 +00:00

15 lines
656 B
PHP

--- include/global_settings.php.orig 2019-01-03 02:14:26 UTC
+++ include/global_settings.php
@@ -160,10 +160,10 @@ $settings = array(
),
'path_cactilog' => array(
'friendly_name' => __('Cacti Log Path'),
- 'description' => __('The path to your Cacti log file (if blank, defaults to &lt;path_cacti&gt;/log/cacti.log)'),
+ 'description' => __('The path to your Cacti log file (if blank, defaults to /var/log/cacti/log)'),
'method' => 'filepath',
'file_type' => 'ascii',
- 'default' => $config['base_path'] . '/log/cacti.log',
+ 'default' => '/var/log/cacti/log',
'max_length' => '255',
'install_check' => 'writable'
),