avoid warning
This commit is contained in:
parent
4d814b078e
commit
053ff24db8
@ -72,7 +72,7 @@ dol_syslog("End of session ".$sessionname);
|
|||||||
// Define url to go
|
// Define url to go
|
||||||
$url=DOL_URL_ROOT."/index.php"; // By default go to login page
|
$url=DOL_URL_ROOT."/index.php"; // By default go to login page
|
||||||
if ($urlfrom) $url=DOL_URL_ROOT.$urlfrom;
|
if ($urlfrom) $url=DOL_URL_ROOT.$urlfrom;
|
||||||
if ($conf->global->MAIN_LOGOUT_GOTO_URL) $url=$conf->global->MAIN_LOGOUT_GOTO_URL;
|
if (! empty($conf->global->MAIN_LOGOUT_GOTO_URL)) $url=$conf->global->MAIN_LOGOUT_GOTO_URL;
|
||||||
|
|
||||||
//print 'url='.$url;exit;
|
//print 'url='.$url;exit;
|
||||||
header("Location: ".$url);
|
header("Location: ".$url);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user