Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISPConfig
ISPConfig 3
Commits
96cc3195
Commit
96cc3195
authored
Dec 20, 2008
by
fantu
Browse files
fix parse error
parent
4a5f926a
Changes
2
Hide whitespace changes
Inline
Side-by-side
install/dist/lib/fedora.lib.php
View file @
96cc3195
...
...
@@ -441,7 +441,7 @@ class installer_dist extends installer_base {
$udp_public_services
=
'53'
;
}
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'
]));
}
...
...
install/dist/lib/opensuse.lib.php
View file @
96cc3195
...
...
@@ -460,7 +460,7 @@ class installer_dist extends installer_base {
}
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'
]));
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment