Fix: La personnalisation du theme ne fonctionnait pas.

This commit is contained in:
Laurent Destailleur 2005-08-12 22:10:34 +00:00
parent 7682e026b9
commit 845d0a8dca

View File

@ -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";
}