Fix coding style part 2

This commit is contained in:
Job Snijders
2015-07-15 11:04:22 +02:00
parent ad9590df9b
commit d8693f05ae
733 changed files with 37338 additions and 33926 deletions
+7 -6
View File
@@ -1,9 +1,10 @@
<?php
if (!$os)
{
if (strstr($sysDescr, "Comware")) { $os = "comware"; }
else if(preg_match('/HP [a-zA-Z0-9- ]+ Switch Software Version/',$sysDescr)) { $os = "comware"; }
if (!$os) {
if (strstr($sysDescr, 'Comware')) {
$os = 'comware';
}
else if (preg_match('/HP [a-zA-Z0-9- ]+ Switch Software Version/', $sysDescr)) {
$os = 'comware';
}
}
?>