From be25e59f859968128c81b64d440e37ca09b8a2a7 Mon Sep 17 00:00:00 2001 From: Ian Berry Date: Sun, 16 Mar 2003 08:23:29 +0000 Subject: [PATCH] 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 --- lib/snmp.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/snmp.php b/lib/snmp.php index 042bda85ec..5fc481deca 100644 --- a/lib/snmp.php +++ b/lib/snmp.php @@ -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();