From d6b3614f79433a93e6ee4aee5eb885614c064308 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Fri, 17 Aug 2012 07:52:46 +0000
Subject: [PATCH] Fixed: FS#2378 - $conf['theme'] value in
 interface/lib/config.inc.php is overwritten (reset to 'default') on update

---
 install/update.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/install/update.php b/install/update.php
index aa750adf5d..a9b91b8131 100644
--- a/install/update.php
+++ b/install/update.php
@@ -95,6 +95,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'];
+$conf['theme'] = $conf_old['theme'];
 if($conf['language'] == '{language}') $conf['language'] = 'en';
 $conf['timezone'] = (isset($conf_old['timezone']))?$conf_old['timezone']:'UTC';
 if($conf['timezone'] == '{timezone}' or trim($conf['timezone']) == '') $conf['timezone'] = 'UTC';
-- 
GitLab