Fix dmidecode data parsing

This commit is contained in:
bevz 2019-03-07 14:02:13 +03:00
parent b138cbe000
commit b701e07bd8
2 changed files with 3 additions and 3 deletions

View file

@ -1,5 +1,5 @@
PLUGIN_NAME= dmidecode
PLUGIN_VERSION= 1.0
PLUGIN_VERSION= 1.1
PLUGIN_COMMENT= Display hardware information on the dashboard
PLUGIN_DEPENDS= dmidecode
PLUGIN_MAINTAINER= evbevz@gmail.com

View file

@ -28,8 +28,8 @@
require_once("widgets/include/dmidecode.inc");
$hardwareData = parse_ini_string(configd_run("dmidecode system"));
$biosData = parse_ini_string(configd_run("dmidecode bios"));
$hardwareData = parse_ini_string(configd_run("dmidecode system"), FALSE, INI_SCANNER_RAW);
$biosData = parse_ini_string(configd_run("dmidecode bios"), FALSE, INI_SCANNER_RAW);
?>
<table class="table table-striped table-condensed">