Commit 96cc3195 authored by fantu's avatar fantu
Browse files

fix parse error

parent 4a5f926a
...@@ -441,7 +441,7 @@ class installer_dist extends installer_base { ...@@ -441,7 +441,7 @@ class installer_dist extends installer_base {
$udp_public_services = '53'; $udp_public_services = '53';
} }
if(!stristr($tcp_public_services, $conf['apache']['vhost_port'])) { if(!stristr($tcp_public_services, $conf['apache']['vhost_port'])) {
$tcp_public_services .= ' '.intval($conf['apache']['vhost_port'])); $tcp_public_services .= ' '.intval($conf['apache']['vhost_port']);
if($row["tcp_port"]) != '') $this->db->query("UPDATE firewall SET tcp_port = tcp_port + ',".intval($conf['apache']['vhost_port'])."' WHERE server_id = ".intval($conf['server_id'])); if($row["tcp_port"]) != '') $this->db->query("UPDATE firewall SET tcp_port = tcp_port + ',".intval($conf['apache']['vhost_port'])."' WHERE server_id = ".intval($conf['server_id']));
} }
......
...@@ -460,7 +460,7 @@ class installer_dist extends installer_base { ...@@ -460,7 +460,7 @@ class installer_dist extends installer_base {
} }
if(!stristr($tcp_public_services, $conf['apache']['vhost_port'])) { if(!stristr($tcp_public_services, $conf['apache']['vhost_port'])) {
$tcp_public_services .= ' '.intval($conf['apache']['vhost_port'])); $tcp_public_services .= ' '.intval($conf['apache']['vhost_port']);
if($row["tcp_port"]) != '') $this->db->query("UPDATE firewall SET tcp_port = tcp_port + ',".intval($conf['apache']['vhost_port'])."' WHERE server_id = ".intval($conf['server_id'])); if($row["tcp_port"]) != '') $this->db->query("UPDATE firewall SET tcp_port = tcp_port + ',".intval($conf['apache']['vhost_port'])."' WHERE server_id = ".intval($conf['server_id']));
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment