File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -442,7 +442,7 @@ public function configure_firewall()
442442 }
443443 if (!stristr ($ tcp_public_services , $ conf ['apache ' ]['vhost_port ' ])) {
444444 $ tcp_public_services .= ' ' .intval ($ conf ['apache ' ]['vhost_port ' ]);
445- 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 ' ]));
445+ 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 ' ]));
446446 }
447447
448448 $ content = str_replace ("{TCP_PUBLIC_SERVICES} " , $ tcp_public_services , $ content );
Original file line number Diff line number Diff line change @@ -461,7 +461,7 @@ public function configure_firewall()
461461
462462 if (!stristr ($ tcp_public_services , $ conf ['apache ' ]['vhost_port ' ])) {
463463 $ tcp_public_services .= ' ' .intval ($ conf ['apache ' ]['vhost_port ' ]);
464- 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 ' ]));
464+ 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 ' ]));
465465 }
466466
467467 $ content = str_replace ("{TCP_PUBLIC_SERVICES} " , $ tcp_public_services , $ content );
Original file line number Diff line number Diff line change @@ -731,7 +731,7 @@ public function configure_firewall()
731731
732732 if (!stristr ($ tcp_public_services , $ conf ['apache ' ]['vhost_port ' ])) {
733733 $ tcp_public_services .= ' ' .intval ($ conf ['apache ' ]['vhost_port ' ]);
734- 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 ' ]));
734+ 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 ' ]));
735735 }
736736
737737 $ content = str_replace ("{TCP_PUBLIC_SERVICES} " , $ tcp_public_services , $ content );
You can’t perform that action at this time.
0 commit comments