Fix: Login page was not in same pagecode that application

This commit is contained in:
Laurent Destailleur 2008-12-22 23:40:23 +00:00
parent 59400fbd81
commit 9e102945f2

View File

@ -41,6 +41,7 @@ function dol_loginfunction($langs,$conf,$mysoc)
if (file_exists(DOL_DOCUMENT_ROOT.'/'.$conf->css.".php")) $conf->css.=".php";
header('Cache-Control: Public, must-revalidate');
header("Content-type: text/html; charset=".$conf->character_set_client);
if (! empty($_REQUEST["urlfrom"])) $_SESSION["urlfrom"]=$_REQUEST["urlfrom"];
else unset($_SESSION["urlfrom"]);