From 6c53094974e47bb1fe008fd312b78aa407b1a38e Mon Sep 17 00:00:00 2001 From: Adam Amstrong Date: Wed, 25 Mar 2009 08:44:30 +0000 Subject: [PATCH] path fixes git-svn-id: http://www.observium.org/svn/observer/trunk@379 61d68cd4-352d-0410-923a-c4978735b2b8 --- html/pages/device/temp.inc.php | 4 ++-- includes/functions.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/html/pages/device/temp.inc.php b/html/pages/device/temp.inc.php index 674f0b415..cd907a57f 100644 --- a/html/pages/device/temp.inc.php +++ b/html/pages/device/temp.inc.php @@ -6,7 +6,7 @@ $query = mysql_query($sql); echo(""); echo(" - + @@ -19,7 +19,7 @@ while($temp = mysql_fetch_array($query)) { if(is_integer($row/2)) { $row_colour = $list_colour_a; } else { $row_colour = $list_colour_b; } echo(" - + diff --git a/includes/functions.php b/includes/functions.php index 712747ef7..adcf0289f 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -69,7 +69,7 @@ function getHostOS($hostname, $community, $snmpver, $port) { $dir_handle = @opendir($config['install_dir'] . "/includes/osdiscovery") or die("Unable to open $path"); while ($file = readdir($dir_handle)) { if( preg_match("/^discover-([a-z0-9]*).php/", $file) ) { - include($config['install_dir'] . "includes/osdiscovery/" . $file); + include($config['install_dir'] . "/includes/osdiscovery/" . $file); } } closedir($dir_handle);
SensorSensor Current Alert Notes
" . $temp['temp_descr'] . "" . $temp['temp_descr'] . " " . print_temperature($temp['temp_current'], $temp['temp_limit']) . " " . $temp['temp_limit'] . " " . $temp['temp_notes'] . "