Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
Guilherme Filippo
ISPConfig 3
Commits
fb06ccf6
Commit
fb06ccf6
authored
Dec 21, 2008
by
tbrehm
Browse files
Fixed ftpuser and shelluser prefix.
parent
3f3aa84a
Changes
2
Hide whitespace changes
Inline
Side-by-side
interface/web/sites/ftp_user_edit.php
View file @
fb06ccf6
...
...
@@ -173,7 +173,8 @@ class page_action extends tform_actions {
$client_group_id
=
$_SESSION
[
"s"
][
"user"
][
"default_group"
];
}
else
{
// Get the group-id from the data itself
$client_group_id
=
$this
->
dataRecord
[
'client_group_id'
];
$web
=
$app
->
db
->
queryOneRecord
(
"SELECT sys_groupid FROM web_domain WHERE domain_id = "
.
intval
(
$this
->
dataRecord
[
'parent_domain_id'
]));
$client_group_id
=
$web
[
'sys_groupid'
];
}
/* get the name of the client */
$tmp
=
$app
->
db
->
queryOneRecord
(
"SELECT name FROM sys_group WHERE groupid = "
.
$client_group_id
);
...
...
interface/web/sites/shell_user_edit.php
View file @
fb06ccf6
...
...
@@ -195,7 +195,8 @@ class page_action extends tform_actions {
$client_group_id
=
$_SESSION
[
"s"
][
"user"
][
"default_group"
];
}
else
{
// Get the group-id from the data itself
$client_group_id
=
$this
->
dataRecord
[
'client_group_id'
];
$web
=
$app
->
db
->
queryOneRecord
(
"SELECT sys_groupid FROM web_domain WHERE domain_id = "
.
intval
(
$this
->
dataRecord
[
'parent_domain_id'
]));
$client_group_id
=
$web
[
'sys_groupid'
];
}
/* get the name of the client */
$tmp
=
$app
->
db
->
queryOneRecord
(
"SELECT name FROM sys_group WHERE groupid = "
.
$client_group_id
);
...
...
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