Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 1763 → Rev 1764

/web/acc/phpsysinfo/includes/os/class.Linux.inc.php
82,9 → 82,10
$result = rfts( '/proc/sys/kernel/hostname', 1 );
if ( $result == "ERROR" ) {
$result = "N.A.";
} else {
$result = gethostbyaddr( gethostbyname( trim( $result ) ) );
}
}
//else {
// $result = gethostbyaddr( gethostbyname( trim( $result ) ) );
//}
return $result;
}
// get the IP address of our canonical hostname