Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
ISPConfig
ISPConfig 3
Commits
694f1e5d
Commit
694f1e5d
authored
Mar 20, 2010
by
tbrehm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed: FS#1125 - Path of ftp users changes on website updates
parent
67e46dc5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
interface/web/sites/web_domain_edit.php
interface/web/sites/web_domain_edit.php
+1
-1
No files found.
interface/web/sites/web_domain_edit.php
View file @
694f1e5d
...
...
@@ -393,7 +393,7 @@ class page_action extends tform_actions {
$client_id
=
intval
(
$client
[
"client_id"
]);
}
if
((
$_SESSION
[
"s"
][
"user"
][
"typ"
]
==
'admin'
||
$app
->
auth
->
has_clients
(
$_SESSION
[
's'
][
'user'
][
'userid'
]))
&&
isset
(
$this
->
dataRecord
[
"client_group_id"
])
&&
$this
->
dataRecord
[
"client_group_id"
]
!=
$this
->
oldDataRecord
[
"
client
_group
_
id"
])
{
if
((
$_SESSION
[
"s"
][
"user"
][
"typ"
]
==
'admin'
||
$app
->
auth
->
has_clients
(
$_SESSION
[
's'
][
'user'
][
'userid'
]))
&&
isset
(
$this
->
dataRecord
[
"client_group_id"
])
&&
$this
->
dataRecord
[
"client_group_id"
]
!=
$this
->
oldDataRecord
[
"
sys
_groupid"
])
{
// Set the values for document_root, system_user and system_group
$system_user
=
$app
->
db
->
quote
(
'web'
.
$this
->
id
);
$system_group
=
$app
->
db
->
quote
(
'client'
.
$client_id
);
...
...
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