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
Zvonimir
ISPConfig 3
Commits
c796b615
Commit
c796b615
authored
May 04, 2010
by
vogelor
Browse files
redo changes of the installer because of some sophisticated systems
parent
4142f13c
Changes
1
Hide whitespace changes
Inline
Side-by-side
install/update.php
View file @
c796b615
...
@@ -232,13 +232,12 @@ if( !$inst->db->query('DROP DATABASE IF EXISTS '.$conf['mysql']['database']) ) {
...
@@ -232,13 +232,12 @@ if( !$inst->db->query('DROP DATABASE IF EXISTS '.$conf['mysql']['database']) ) {
$inst
->
configure_database
();
$inst
->
configure_database
();
if
(
$conf
[
'mysql'
][
'master_slave_setup'
]
==
'y'
)
{
if
(
$conf
[
'mysql'
][
'master_slave_setup'
]
==
'y'
)
{
/*
//** Update master database rights
* Because of security updates and because of new functions in den new Version it is
$reconfigure_master_database_rights_answer
=
$inst
->
simple_query
(
'Reconfigure Permissions in master database?'
,
array
(
'yes'
,
'no'
),
'no'
);
* better to ALWAYS reconfigure the rights and never ask!
* (for example if we add some new tables to the monitor and the old rights don't have the
if
(
$reconfigure_master_database_rights_answer
==
'yes'
)
{
* permission to read this tables the monitor always returns a error)
$inst
->
grant_master_database_rights
();
*/
}
$inst
->
grant_master_database_rights
();
}
}
//** empty all databases
//** empty all databases
...
...
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