Updated to use sysDescr

This commit is contained in:
laf
2016-06-21 19:42:16 +01:00
parent 3ee0ff6756
commit ee2ec6c7f9
+1 -1
View File
@@ -11,7 +11,7 @@
*/
if (!$os) {
if (strpos($sysObjectId, '1.3.6.1.4.1.8072.3.2.16') !== false ||
strpos($sysObjectId, '1.3.6.1.4.1.8072.3.2.255') !== false) {
preg_match('/Darwin Kernel Version 15/', $sysDescr)) {
$os = 'macosx';
}
}