Adam Amstrong 0242ba34a9 prettier neighbours. fix processor for non-unix
git-svn-id: http://www.observium.org/svn/observer/trunk@2155 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-24 11:24:10 +00:00

14 lines
323 B
PHP

<?
$device = device_by_id_cache($id);
$query = mysql_query("SELECT * FROM `processors` where `device_id` = '".$id."'");
if($config['os'][$device['os']]['processor_stacked'] == 1)
{
include("includes/graphs/device/processor_stack.inc.php");
} else {
include("includes/graphs/device/processor_separate.inc.php");
}
?>