Fix: Login page was not in same pagecode that application
This commit is contained in:
parent
59400fbd81
commit
9e102945f2
@ -41,6 +41,7 @@ function dol_loginfunction($langs,$conf,$mysoc)
|
|||||||
if (file_exists(DOL_DOCUMENT_ROOT.'/'.$conf->css.".php")) $conf->css.=".php";
|
if (file_exists(DOL_DOCUMENT_ROOT.'/'.$conf->css.".php")) $conf->css.=".php";
|
||||||
|
|
||||||
header('Cache-Control: Public, must-revalidate');
|
header('Cache-Control: Public, must-revalidate');
|
||||||
|
header("Content-type: text/html; charset=".$conf->character_set_client);
|
||||||
|
|
||||||
if (! empty($_REQUEST["urlfrom"])) $_SESSION["urlfrom"]=$_REQUEST["urlfrom"];
|
if (! empty($_REQUEST["urlfrom"])) $_SESSION["urlfrom"]=$_REQUEST["urlfrom"];
|
||||||
else unset($_SESSION["urlfrom"]);
|
else unset($_SESSION["urlfrom"]);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user