Fix: La variable $conf->clicktodial->enabled est bien définie en fonction de l'activation du module.

This commit is contained in:
Laurent Destailleur 2005-01-16 17:36:39 +00:00
parent c536035e97
commit b06a04e061

View File

@ -294,6 +294,10 @@ if (defined("MAIN_MODULE_POSTNUKE"))
{ {
$conf->postnuke->enabled=MAIN_MODULE_POSTNUKE; $conf->postnuke->enabled=MAIN_MODULE_POSTNUKE;
} }
if (defined("MAIN_MODULE_CLICKTODIAL"))
{
$conf->clicktodial->enabled=MAIN_MODULE_CLICKTODIAL;
}
if (defined("MAIN_MODULE_TELEPHONIE")) if (defined("MAIN_MODULE_TELEPHONIE"))
{ {
$conf->telephonie->enabled=MAIN_MODULE_TELEPHONIE; $conf->telephonie->enabled=MAIN_MODULE_TELEPHONIE;
@ -342,6 +346,7 @@ $conf->propal->dir_output=DOL_DATA_ROOT."/propale";
if (defined(PROPALE_OUTPUTDIR) && PROPALE_OUTPUTDIR) { $conf->propal->dir_output=PROPALE_OUTPUTDIR; } # Pour passer outre le rep par défaut if (defined(PROPALE_OUTPUTDIR) && PROPALE_OUTPUTDIR) { $conf->propal->dir_output=PROPALE_OUTPUTDIR; } # Pour passer outre le rep par défaut
/* /*
* Modification de quelques variable de conf en fonction des Constantes * Modification de quelques variable de conf en fonction des Constantes
*/ */