- remove multiserver-stuff from trunk/

- allow admins with customer_see_all-flag to see their support-tickets too
- sanitize date-stuff in install.php
- fixed wrong usage of standard_error() in ticket::sendMail()
- fix issue with lighttpd server.bind when IP is IPv6
This commit is contained in:
Michael Kaufmann (d00p)
2010-11-03 06:36:22 +00:00
parent f81826fd9b
commit 5cd1c1284a
5 changed files with 12 additions and 39 deletions

View File

@@ -77,11 +77,13 @@ class lighttpd
{
$ip = '[' . $row_ipsandports['ip'] . ']';
$port = $row_ipsandports['port'];
$ipv6 = 'server.use-ipv6 = "enable"'."\n";
}
else
{
$ip = $row_ipsandports['ip'];
$port = $row_ipsandports['port'];
$ipv6 = '';
}
fwrite($this->debugHandler, ' lighttpd::createIpPort: creating ip/port settings for ' . $ip . ":" . $port . "\n");
@@ -99,6 +101,7 @@ class lighttpd
{
$this->lighttpd_data[$vhost_filename].= 'server.port = ' . $port . "\n";
$this->lighttpd_data[$vhost_filename].= 'server.bind = "' . $ip . '"' . "\n";
$this->lighttpd_data[$vhost_filename].= $ipv6;
}
if($row_ipsandports['vhostcontainer'] == '1')