Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 2775 → Rev 2976

/web/acc/phpsysinfo/includes/ups/class.pmset.inc.php
38,9 → 38,11
public function __construct()
{
parent::__construct();
$temp = "";
if (CommonFunctions::executeProgram('pmset', '-g batt', $temp) && !empty($temp)) {
$this->_output[] = $temp;
if (PSI_OS == 'Darwin') {
$temp = "";
if (CommonFunctions::executeProgram('pmset', '-g batt', $temp) && !empty($temp)) {
$this->_output[] = $temp;
}
}
}