Skip to content
Snippets Groups Projects
Commit 9e102945 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: Login page was not in same pagecode that application

parent 59400fbd
No related branches found
No related tags found
No related merge requests found
...@@ -41,6 +41,7 @@ function dol_loginfunction($langs,$conf,$mysoc) ...@@ -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"]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment