Files
librenms-librenms/includes/html/graphs/device/processor.inc.php
Tony Murray f3ba8947f7 Use Config helper (#10339)
remove usage of global variable
2019-06-23 00:29:12 -05:00

10 lines
328 B
PHP

<?php
$procs = dbFetchRows('SELECT * FROM `processors` where `device_id` = ?', array($device['device_id']));
if (\LibreNMS\Config::get("os.{$device['os']}.processor_stacked")) {
include 'includes/html/graphs/device/processor_stack.inc.php';
} else {
include 'includes/html/graphs/device/processor_separate.inc.php';
}