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
5898e681
Commit
5898e681
authored
May 25, 2009
by
tbrehm
Browse files
Fixed a problem with the language setting on updates.
parent
6ba3dc44
Changes
4
Hide whitespace changes
Inline
Side-by-side
install/dist/lib/fedora.lib.php
View file @
5898e681
...
...
@@ -578,6 +578,8 @@ class installer_dist extends installer_base {
$content
=
str_replace
(
'{server_id}'
,
$conf
[
'server_id'
],
$content
);
$content
=
str_replace
(
'{ispconfig_log_priority}'
,
$conf
[
'ispconfig_log_priority'
],
$content
);
$content
=
str_replace
(
'{language}'
,
$conf
[
'language'
],
$content
);
wf
(
"
$install_dir
/server/lib/
$configfile
"
,
$content
);
...
...
install/dist/lib/opensuse.lib.php
View file @
5898e681
...
...
@@ -599,6 +599,8 @@ class installer_dist extends installer_base {
$content
=
str_replace
(
'{server_id}'
,
$conf
[
'server_id'
],
$content
);
$content
=
str_replace
(
'{ispconfig_log_priority}'
,
$conf
[
'ispconfig_log_priority'
],
$content
);
$content
=
str_replace
(
'{language}'
,
$conf
[
'language'
],
$content
);
wf
(
"
$install_dir
/server/lib/
$configfile
"
,
$content
);
...
...
install/lib/installer_base.lib.php
View file @
5898e681
...
...
@@ -879,6 +879,8 @@ class installer_base {
$content
=
str_replace
(
'{server_id}'
,
$conf
[
'server_id'
],
$content
);
$content
=
str_replace
(
'{ispconfig_log_priority}'
,
$conf
[
'ispconfig_log_priority'
],
$content
);
$content
=
str_replace
(
'{language}'
,
$conf
[
'language'
],
$content
);
wf
(
"
$install_dir
/server/lib/
$configfile
"
,
$content
);
...
...
install/update.php
View file @
5898e681
...
...
@@ -89,6 +89,7 @@ $conf['mysql']['charset'] = 'utf8';
$conf
[
"mysql"
][
"ispconfig_user"
]
=
$conf_old
[
"db_user"
];
$conf
[
"mysql"
][
"ispconfig_password"
]
=
$conf_old
[
"db_password"
];
$conf
[
'language'
]
=
$conf_old
[
'language'
];
if
(
$conf
[
'language'
]
==
'{language}'
)
$conf
[
'language'
]
=
'en'
;
if
(
isset
(
$conf_old
[
"dbmaster_host"
]))
$conf
[
"mysql"
][
"master_host"
]
=
$conf_old
[
"dbmaster_host"
];
if
(
isset
(
$conf_old
[
"dbmaster_database"
]))
$conf
[
"mysql"
][
"master_database"
]
=
$conf_old
[
"dbmaster_database"
];
...
...
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