Skip to content
GitLab
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
42614a92
Unverified
Commit
42614a92
authored
Nov 14, 2022
by
Helmo
Browse files
Extra isset test
parent
63e34961
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/plugins-available/apache2_plugin.inc.php
View file @
42614a92
...
@@ -1831,7 +1831,7 @@ class apache2_plugin {
...
@@ -1831,7 +1831,7 @@ class apache2_plugin {
//* Add vhost for IPv6 IP
//* Add vhost for IPv6 IP
if
(
$data
[
'new'
][
'ipv6_address'
]
!=
''
)
{
if
(
$data
[
'new'
][
'ipv6_address'
]
!=
''
)
{
//* rewrite ipv6 on mirrors
//* rewrite ipv6 on mirrors
if
(
$conf
[
'serverconfig'
][
'web'
][
'vhost_rewrite_v6'
]
==
'y'
)
{
if
(
isset
(
$conf
[
'serverconfig'
][
'web'
][
'vhost_rewrite_v6'
])
&&
$conf
[
'serverconfig'
][
'web'
][
'vhost_rewrite_v6'
]
==
'y'
)
{
if
(
isset
(
$conf
[
'serverconfig'
][
'server'
][
'v6_prefix'
])
&&
$conf
[
'serverconfig'
][
'server'
][
'v6_prefix'
]
<>
''
)
{
if
(
isset
(
$conf
[
'serverconfig'
][
'server'
][
'v6_prefix'
])
&&
$conf
[
'serverconfig'
][
'server'
][
'v6_prefix'
]
<>
''
)
{
$explode_v6prefix
=
explode
(
':'
,
$conf
[
'serverconfig'
][
'server'
][
'v6_prefix'
]);
$explode_v6prefix
=
explode
(
':'
,
$conf
[
'serverconfig'
][
'server'
][
'v6_prefix'
]);
$explode_v6
=
explode
(
':'
,
$data
[
'new'
][
'ipv6_address'
]);
$explode_v6
=
explode
(
':'
,
$data
[
'new'
][
'ipv6_address'
]);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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