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
Dirk Dankhoff
ISPConfig 3
Commits
6eeadda9
Commit
6eeadda9
authored
Oct 25, 2011
by
tbrehm
Browse files
- Fixed php notice in installer.
parent
28288df5
Changes
1
Hide whitespace changes
Inline
Side-by-side
install/lib/installer_base.lib.php
View file @
6eeadda9
...
...
@@ -888,7 +888,7 @@ class installer_base {
if
(
is_file
(
$config_dir
.
'/'
.
$configfile
))
{
copy
(
$config_dir
.
'/'
.
$configfile
,
$config_dir
.
'/'
.
$configfile
.
'~'
);
}
chmod
(
$config_dir
.
'/'
.
$configfile
.
'~'
,
0400
);
if
(
is_file
(
$config_dir
.
'/'
.
$configfile
.
'~'
))
chmod
(
$config_dir
.
'/'
.
$configfile
.
'~'
,
0400
);
$content
=
rf
(
'tpl/debian_dovecot-sql.conf.master'
);
$content
=
str_replace
(
'{mysql_server_ispconfig_user}'
,
$conf
[
'mysql'
][
'ispconfig_user'
],
$content
);
$content
=
str_replace
(
'{mysql_server_ispconfig_password}'
,
$conf
[
'mysql'
][
'ispconfig_password'
],
$content
);
...
...
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