From 845d0a8dca2079370c60329c5149671b22e63ae5 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 12 Aug 2005 22:10:34 +0000 Subject: [PATCH] Fix: La personnalisation du theme ne fonctionnait pas. --- htdocs/main.inc.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php index 0695c1fe411..3e3fe66b4a1 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -128,6 +128,11 @@ if (isset($user->conf->MAIN_LANG_DEFAULT) && $user->conf->MAIN_LANG_DEFAULT) $langs = new Translate(DOL_DOCUMENT_ROOT ."/langs", $conf->langage); } } +if (isset($user->conf->MAIN_THEME) && $user->conf->MAIN_THEME) +{ + $conf->theme=$user->conf->MAIN_THEME; + $conf->css = "theme/".$conf->theme."/".$conf->theme.".css"; +}