ports/net-mgmt/cacti88/files/patch-include__global.php
Danilo G. Baio 9133f75cb0 Repocopy from net-mgmt/cacti (r416066) -> net-mgmt/cacti88
Web-driven graphing interface for RRDTool (Old version of net-mgmt/cacti)

New releases of Cacti are still unable to work with useful plugins like
"GPS Map" and "Network Weathermap".

While here, minor fixes and get improvements from the current port.

PR:		219685
Submitted by:	Vinicius Zavam <egypcio@googlemail.com>
Approved by:	garga (mentor)
Differential Revision:	https://reviews.freebsd.org/D11023
2017-06-06 00:47:24 +00:00

11 lines
428 B
PHP

--- include/global.php.orig 2016-03-06 23:26:59 UTC
+++ include/global.php
@@ -116,7 +116,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';
/* colors */
$colors["dark_outline"] = "454E53";