Add: entity cookie just used for the login page

This commit is contained in:
Regis Houssin 2009-05-22 15:38:09 +00:00
parent 6f163a94a8
commit 23ce17b308

View File

@ -453,7 +453,7 @@ if (! isset($_SESSION["dol_login"]))
$cryptkey = (! empty($conf->global->MAIN_MULTICOMPANY_COOKIE_CRYPTKEY) ? $conf->global->MAIN_MULTICOMPANY_COOKIE_CRYPTKEY : '' );
$entityCookie = new DolCookie($cryptkey);
$entityCookie->_setCookie($entityCookieName, $entity);
$entityCookie->_setCookie($entityCookieName, $entity, $ttl);
}
// Module webcalendar