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-include__global.php
Steve Wills fece92584a net-mgmt/cacti: Update to 1.2.3
PR:		236927
Submitted by:	Daniel Austin <freebsd-ports@dan.me.uk> (maintainer)
2019-04-10 21:10:00 +00:00

12 lines
470 B
PHP

--- include/global.php.orig 2019-03-30 23:40:22 UTC
+++ include/global.php
@@ -216,7 +216,7 @@ if ($config['cacti_server_os'] == 'win32') {
$config['library_path'] = preg_replace("/(.*[\/])include/", "\\1lib", dirname(__FILE__));
}
$config['include_path'] = dirname(__FILE__);
-$config['rra_path'] = $config['base_path'] . '/rra';
+$config['rra_path'] = '/var/db/cacti/rra';
/* for multiple pollers, we need to know this location */
if (!isset($scripts_path)) {