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
Philipp
ISPConfig 3
Commits
e313d006
Commit
e313d006
authored
Jun 20, 2017
by
Till Brehm
Browse files
Fixed: #4674 Permission on ftp_traffic table after update to 3.1.2
parent
a4ee1fe8
Changes
1
Hide whitespace changes
Inline
Side-by-side
install/lib/installer_base.lib.php
View file @
e313d006
...
...
@@ -672,6 +672,14 @@ class installer_base {
if
(
!
$this
->
dbmaster
->
query
(
$query
,
$value
[
'db'
]
.
'.dns_soa'
,
$value
[
'user'
],
$host
))
{
$this
->
warning
(
'Unable to set rights of user in master database: '
.
$value
[
'db'
]
.
"
\n
Query: "
.
$query
.
"
\n
Error: "
.
$this
->
dbmaster
->
errorMessage
);
}
$query
=
"GRANT SELECT, INSERT, UPDATE ON ?? TO ?@?"
;
if
(
$verbose
){
echo
$query
.
"
\n
"
;
}
if
(
!
$this
->
dbmaster
->
query
(
$query
,
$value
[
'db'
]
.
'.ftp_traffic'
,
$value
[
'user'
],
$host
))
{
$this
->
warning
(
'Unable to set rights of user in master database: '
.
$value
[
'db'
]
.
"
\n
Query: "
.
$query
.
"
\n
Error: "
.
$this
->
dbmaster
->
errorMessage
);
}
}
...
...
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