/web/acc/phpsysinfo/includes/ups/class.apcupsd.inc.php |
---|
52,7 → 52,11 |
} |
} |
} else { //use default if address and port not defined |
if (!defined('PSI_EMU_HOSTNAME')) { |
CommonFunctions::executeProgram('apcaccess', 'status', $temp); |
} else { |
CommonFunctions::executeProgram('apcaccess', 'status '.PSI_EMU_HOSTNAME, $temp); |
} |
if (! empty($temp)) { |
$this->_output[] = $temp; |
} |