2010-07-20 14:03:54 +00:00
|
|
|
<?php
|
|
|
|
|
2015-07-10 13:36:21 +02:00
|
|
|
if (!$os) {
|
|
|
|
if (strstr($sysObjectId, '1.3.6.1.4.1.311.1.1.3')) {
|
|
|
|
$os = 'windows';
|
|
|
|
}
|
2010-07-20 14:03:54 +00:00
|
|
|
|
2015-07-10 13:36:21 +02:00
|
|
|
if (preg_match('/Windows/', $sysDescr)) {
|
|
|
|
$os = 'windows';
|
|
|
|
}
|
|
|
|
}
|