/web/acc/phpsysinfo/includes/lang/en.php |
---|
24,7 → 24,7 |
$text['title'] = 'System Information'; |
$text['vitals'] = 'System Vital'; |
$text['hostname'] = 'Canonical Hostname'; |
$text['hostname'] = 'Hostname'; |
$text['ip'] = 'Listening IP'; |
$text['kversion'] = 'Kernel Version'; |
$text['dversion'] = 'Distro Name'; |
/web/acc/phpsysinfo/includes/lang/fr.php |
---|
24,7 → 24,7 |
$text['title'] = 'Informations Système '; |
$text['vitals'] = 'Système'; |
$text['hostname'] = 'Nom d\'hôte cannonique'; |
$text['hostname'] = 'Nom d\'hôte'; |
$text['ip'] = 'IP'; |
$text['kversion'] = 'Version du noyau'; |
$text['dversion'] = 'Distribution'; |
/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 |