Uncomment code as it was used.

This commit is contained in:
Laurent Destailleur 2010-06-02 18:50:46 +00:00
parent 0fcf0a13a1
commit 9622c6a0da

View File

@ -241,8 +241,7 @@ if (! empty($_SESSION["disablemodules"]))
} }
} }
// Init Smarty // Init Smarty (used by some modules like multicompany)
/*
if (sizeof($conf->need_smarty) > 0 || $conf->global->MAIN_SMARTY) if (sizeof($conf->need_smarty) > 0 || $conf->global->MAIN_SMARTY)
{ {
// Usage of const in conf.php file (deprecated) can overwrite default dir. // Usage of const in conf.php file (deprecated) can overwrite default dir.
@ -266,7 +265,6 @@ if (sizeof($conf->need_smarty) > 0 || $conf->global->MAIN_SMARTY)
dol_print_error('',"Library Smarty ".$smarty_libs." not found."); dol_print_error('',"Library Smarty ".$smarty_libs." not found.");
} }
} }
*/
/* /*
* Phase authentication / login * Phase authentication / login