Skip to content

Commit

Permalink
!defined('PSI_SYSTEM_CODEPAGE')
Browse files Browse the repository at this point in the history
  • Loading branch information
namiltd committed Aug 20, 2023
1 parent 31d22fa commit d114ded
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/os/class.WINNT.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ public function __construct($blockname = false)
self::$_wmi = false; // No WMI info on ReactOS yet
$this->_reg = false; // No EnumKey and ReadReg on ReactOS yet
} else {
if (PSI_OS == 'WINNT') {
if ((PSI_OS == 'WINNT') && !defined('PSI_SYSTEM_CODEPAGE')) {
if (defined('PSI_EMU_HOSTNAME')) {
try {
$objLocator = new COM('WbemScripting.SWbemLocator');
Expand Down

0 comments on commit d114ded

Please sign in to comment.