diff options
author | Michael Larabel <michael@phx-laptop.(none)> | 2008-10-26 11:10:17 -0400 |
---|---|---|
committer | Michael Larabel <michael@phx-laptop.(none)> | 2008-10-26 11:10:17 -0400 |
commit | d45f32582f4b7bc02bb8cbc191e07d8e4f96aa33 (patch) | |
tree | ce76a00950862ea557e2754ac3ef8ceb0ede7aa8 /pts-core/functions/pts-functions_system_parsing.php | |
parent | 242de5350c4e2745cfac5db61a687a1046c01a76 (diff) | |
download | phoronix-test-suite-upstream-d45f32582f4b7bc02bb8cbc191e07d8e4f96aa33.tar.gz phoronix-test-suite-upstream-d45f32582f4b7bc02bb8cbc191e07d8e4f96aa33.tar.xz phoronix-test-suite-upstream-d45f32582f4b7bc02bb8cbc191e07d8e4f96aa33.zip |
pts-core: Improve motherboard detection for vendors that report a
version string of "1234567890" (such as Super Micro)
Diffstat (limited to 'pts-core/functions/pts-functions_system_parsing.php')
-rw-r--r-- | pts-core/functions/pts-functions_system_parsing.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pts-core/functions/pts-functions_system_parsing.php b/pts-core/functions/pts-functions_system_parsing.php index e256d82..a4f1339 100644 --- a/pts-core/functions/pts-functions_system_parsing.php +++ b/pts-core/functions/pts-functions_system_parsing.php @@ -80,7 +80,7 @@ function read_hal($name, $UDI = null) $info = trim(substr($info, 0, strpos($info, "'"))); } - $remove_words = array("empty", "unknow", "system manufacturer", "system version", "system name", "system product name", "to be filled by o.e.m.", "not applicable", "oem"); + $remove_words = array("empty", "unknow", "system manufacturer", "system version", "system name", "system product name", "to be filled by o.e.m.", "not applicable", "oem", "1234567890"); if(empty($info) || in_array(strtolower($info), $remove_words)) { $info = "Unknown"; |