fix issue-1931

This commit is contained in:
Rosiak 2015-09-19 23:06:12 +02:00
parent b732153e6f
commit 8b939ad6ef

View File

@ -1,15 +1,7 @@
<?php
if (!$os) {
if (stristr($sysDescr, 'VRP (R) Software')) {
$os = 'vrp';
}
if (stristr($sysDescr, 'VRP Software Version')) {
$os = 'vrp';
}
if (stristr($sysDescr, 'Software Version VRP')) {
$os = 'vrp';
} if (stristr($sysDescr, 'Versatile Routing Platform Software Version')) {
if (stristr($sysDescr, 'VRP (R) Software') || stristr($sysDescr, 'VRP Software Version') || stristr($sysDescr, 'Software Version VRP') || stristr($sysDescr, 'Versatile Routing Platform Software')) {
$os = 'vrp';
}
}