mirror of
https://git.freebsd.org/ports.git
synced 2025-06-09 06:40:33 -04:00
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
20 lines
908 B
PHP
20 lines
908 B
PHP
--- install/index.php.orig 2016-03-06 23:26:59 UTC
|
|
+++ install/index.php
|
|
@@ -63,7 +63,7 @@ if ($old_cacti_version == $config["cacti
|
|
}
|
|
|
|
function verify_php_extensions() {
|
|
- $extensions = array("session", "sockets", "mysql", "xml");
|
|
+ $extensions = array("session", "sockets", "mysqli", "xml");
|
|
$ok = true;
|
|
$missing_extension = " <p style='font-family: Verdana, Arial; font-size: 16px; font-weight: bold; color: red;'>Error</p>
|
|
<p style='font-family: Verdana, Arial; font-size: 12px;'>The following PHP extensions are missing:</p><ul>";
|
|
@@ -267,7 +267,7 @@ $input["path_cactilog"]["description"] =
|
|
if (config_value_exists("path_cactilog")) {
|
|
$input["path_cactilog"]["default"] = read_config_option("path_cactilog");
|
|
} else {
|
|
- $input["path_cactilog"]["default"] = $config["base_path"] . "/log/cacti.log";
|
|
+ $input["path_cactilog"]["default"] = "/var/log/cacti/log";
|
|
}
|
|
|
|
/* SNMP Version */
|