Skip to content

Commit 7e64bb3

Browse files
author
Till Brehm
committed
Fixed last commit.
1 parent a2fd863 commit 7e64bb3

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

install/lib/installer_base.lib.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -777,7 +777,7 @@ public function configure_mailman($status = 'insert') {
777777
$virtual_domains = "' '";
778778

779779
$content = str_replace('{hostname}', $conf['hostname'], $content);
780-
if(!isset($old_options['DEFAULT_SERVER_LANGUAGE'])) $old_options['DEFAULT_SERVER_LANGUAGE'] = 'en';
780+
if(!isset($old_options['DEFAULT_SERVER_LANGUAGE']) || $old_options['DEFAULT_SERVER_LANGUAGE'] == '') $old_options['DEFAULT_SERVER_LANGUAGE'] = 'en';
781781
$content = str_replace('{default_language}', $old_options['DEFAULT_SERVER_LANGUAGE'], $content);
782782
$content = str_replace('{virtual_domains}', $virtual_domains, $content);
783783

install/tpl/mm_cfg.py.master

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
7373

7474
#-------------------------------------------------------------
7575
# The default language for this server.
76-
DEFAULT_SERVER_LANGUAGE = '{default_language}'
76+
DEFAULT_SERVER_LANGUAGE = {default_language}
7777

7878
#-------------------------------------------------------------
7979
# Iirc this was used in pre 2.1, leave it for now

server/conf/mm_cfg.py.master

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
7373

7474
#-------------------------------------------------------------
7575
# The default language for this server.
76-
DEFAULT_SERVER_LANGUAGE = '{default_language}'
76+
DEFAULT_SERVER_LANGUAGE = {default_language}
7777

7878
#-------------------------------------------------------------
7979
# Iirc this was used in pre 2.1, leave it for now

0 commit comments

Comments
 (0)