From b9ea02ce477d17d44eedd94d6fed3199569a472d Mon Sep 17 00:00:00 2001
From: Florian <florian@schaal-24.de>
Date: Thu, 17 Oct 2013 11:02:23 -0400
Subject: [PATCH] DKIM-Modifications skip writing dkim-values for inactive domains removed the public-dkim-key from the interface added german language-file

---
 install/dist/lib/opensuse.lib.php |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/install/dist/lib/opensuse.lib.php b/install/dist/lib/opensuse.lib.php
index 034897c..1e536ab 100644
--- a/install/dist/lib/opensuse.lib.php
+++ b/install/dist/lib/opensuse.lib.php
@@ -265,7 +265,7 @@
 		$command = 'chmod 755  /var/run/authdaemon.courier-imap';
 		caselog($command.' &> /dev/null', __FILE__, __LINE__, 'EXECUTED: '.$command, 'Failed to execute the command '.$command);
 		
-		//* Changing maildrop lines in posfix master.cf
+		//* Changing maildrop lines in posfix master.cf 
 		if(is_file($config_dir.'/master.cf')){
             copy($config_dir.'/master.cf', $config_dir.'/master.cf~');
         }
@@ -913,6 +913,7 @@
 		$content = str_replace('{language}', $conf['language'], $content);
 		$content = str_replace('{timezone}', $conf['timezone'], $content);
 		$content = str_replace('{theme}', $conf['theme'], $content);
+		$content = str_replace('{language_file_import_enabled}', ($conf['language_file_import_enabled'] == true)?'true':'false', $content);
 		
 		wf("$install_dir/interface/lib/$configfile", $content);
 		
@@ -937,6 +938,7 @@
 		$content = str_replace('{language}', $conf['language'], $content);
 		$content = str_replace('{timezone}', $conf['timezone'], $content);
 		$content = str_replace('{theme}', $conf['theme'], $content);
+		$content = str_replace('{language_file_import_enabled}', ($conf['language_file_import_enabled'] == true)?'true':'false', $content);
 		
 		wf("$install_dir/server/lib/$configfile", $content);
 		

--
Gitblit v1.9.1