*/
protected function resolveIpAddress ($hostname) {
// Debug message
- $this->debugOutput(sprintf("[%s:] Our host name is: <span class=\"data\">%s</span>",
+ $this->debugOutput(sprintf('[%s:] Our host name is: %s',
$this->__toString(),
$hostname
));
$ip = $ipResolved;
// Debug message
- $this->debugOutput(sprintf("[%s:] Resolved IP address is: <span class=\"data\">%s</span>\n",
+ $this->debugOutput(sprintf('[%s:] Resolved IP address is: %s',
$this->__toString(),
$ip
));
} else {
// Problem while resolving IP address
- $this->debugOutput(sprintf("[%s:] Problem resolving IP address for host <span class=\"data\">%s</span>. Please check your /etc/hosts file.",
+ $this->debugOutput(sprintf('[%s:] Problem resolving IP address for host %s. Please check your /etc/hosts file.',
$this->__toString(),
$hostname
));
$ip = $helperInstance->resolveIpAddress($_SERVER['COMPUTERNAME']);
} else {
// Could not find our hostname
- $helperInstance->debugOutput(sprintf("[%s:] WARNING: Cannot resolve my own IP address.",
+ $helperInstance->debugOutput(sprintf('[%s:] WARNING: Cannot resolve my own IP address.',
$helperInstance->__toString()
));
}
} catch (FrameworkException $e) {
// Output debug message
- $helperInstance->debugOutput(sprintf("[%s:] Problem while resolving own IP address: [%s|%s]:%s",
+ $helperInstance->debugOutput(sprintf('[%s:] Problem while resolving own IP address: [%s|%s]:%s',
$helperInstance->__toString(),
$e->__toString(),
$e->getHexCode(),