diff --git a/pandora_console/include/lib/Dashboard/Widgets/BlockHistogram.php b/pandora_console/include/lib/Dashboard/Widgets/BlockHistogram.php index ef2b91a3f1..88fcfa1830 100644 --- a/pandora_console/include/lib/Dashboard/Widgets/BlockHistogram.php +++ b/pandora_console/include/lib/Dashboard/Widgets/BlockHistogram.php @@ -143,6 +143,9 @@ class BlockHistogram extends Widget $widgetId ); + // Include. + include_once $config['homedir'].'/include/functions_reporting.php'; + // Width. $this->width = $width; diff --git a/pandora_console/include/lib/Dashboard/Widgets/GroupedMeterGraphs.php b/pandora_console/include/lib/Dashboard/Widgets/GroupedMeterGraphs.php index 2eed27df11..774dbfe7fc 100644 --- a/pandora_console/include/lib/Dashboard/Widgets/GroupedMeterGraphs.php +++ b/pandora_console/include/lib/Dashboard/Widgets/GroupedMeterGraphs.php @@ -170,6 +170,9 @@ class GroupedMeterGraphs extends Widget $widgetId ); + // Include. + include_once $config['homedir'].'/include/functions_reporting.php'; + // Width. $this->width = $width; diff --git a/pandora_console/include/lib/Dashboard/Widgets/os_quick_report.php b/pandora_console/include/lib/Dashboard/Widgets/os_quick_report.php index cd500e2972..0fb08f0719 100644 --- a/pandora_console/include/lib/Dashboard/Widgets/os_quick_report.php +++ b/pandora_console/include/lib/Dashboard/Widgets/os_quick_report.php @@ -133,6 +133,7 @@ class OsQuickReportWidget extends Widget // Includes. enterprise_include_once('/include/functions_services.php'); enterprise_include_once('/include/functions_servicemap.php'); + include_once $config['homedir'].'/include/functions_os.php'; // WARNING: Do not edit. This chunk must be in the constructor. parent::__construct(