From 9622c6a0da3641632ad315ec88186329ac0afa5f Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 2 Jun 2010 18:50:46 +0000 Subject: [PATCH] Uncomment code as it was used. --- htdocs/main.inc.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php index c29a137acc1..463f6b93e2e 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -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) { // 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."); } } -*/ /* * Phase authentication / login