mirror of
https://github.com/Cacti/cacti.git
synced 2026-12-05 22:54:19 +09:00
re-add config.php incluide
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@700 860744bd-22fc-0310-8c96-e9fe5004b5ca
This commit is contained in:
1 parent
ea7740eb6b
commit
be25e59f85
1 file changed
+2
@@ -98,6 +98,7 @@ function query_snmp_host($host_id, $snmp_query_id) {
|
||||
}
|
||||
|
||||
function cacti_snmp_get($hostname, $community, $oid, $version, $username, $password) {
|
||||
include ("config.php");
|
||||
include_once ("functions.php");
|
||||
|
||||
if ($config["php_snmp_support"] == true) {
|
||||
@@ -129,6 +130,7 @@ function cacti_snmp_get($hostname, $community, $oid, $version, $username, $passw
|
||||
}
|
||||
|
||||
function cacti_snmp_walk($hostname, $community, $oid, $version, $username, $password) {
|
||||
include ("config.php");
|
||||
include_once ("functions.php");
|
||||
|
||||
$snmp_array = array();
|
||||
|
||||
Reference in new issue
Block a user