Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
ISPConfig 3
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lolo888
ISPConfig 3
Commits
056b11eb
Commit
056b11eb
authored
Sep 27, 2012
by
mcramer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bugfix: wrong host name when using domain module
parent
d6363ba9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
interface/web/sites/web_vhost_subdomain_edit.php
interface/web/sites/web_vhost_subdomain_edit.php
+2
-1
No files found.
interface/web/sites/web_vhost_subdomain_edit.php
View file @
056b11eb
...
...
@@ -288,7 +288,6 @@ class page_action extends tform_actions {
$this
->
dataRecord
[
"ipv6_address"
]
=
$parent_domain
[
"ipv6_address"
];
$this
->
dataRecord
[
"client_group_id"
]
=
$parent_domain
[
"client_group_id"
];
$this
->
dataRecord
[
"vhost_type"
]
=
'name'
;
$this
->
dataRecord
[
"domain"
]
=
$this
->
dataRecord
[
"domain"
]
.
'.'
.
$parent_domain
[
"domain"
];
$this
->
parent_domain_record
=
$parent_domain
;
...
...
@@ -328,6 +327,8 @@ class page_action extends tform_actions {
if
(
$check
&&
$check
[
'cnt'
]
>
0
)
{
$app
->
tform
->
errorMessage
.
=
$app
->
tform
->
lng
(
"web_folder_unique_txt"
)
.
"<br>"
;
}
}
else
{
$this
->
dataRecord
[
"domain"
]
=
$this
->
dataRecord
[
"domain"
]
.
'.'
.
$parent_domain
[
"domain"
];
}
if
(
$_SESSION
[
"s"
][
"user"
][
"typ"
]
!=
'admin'
)
{
...
...
Write
Preview
Markdown
is supported
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