mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-12 00:45:34 +00:00
add log line before calling controller
that allows to redirect in the controller, with skipping the logging
This commit is contained in:
parent
5a112edfce
commit
b99795da12
|
@ -213,12 +213,12 @@ else if (isset($_GET["referuri"]) && strlen($_GET["referuri"])>0) {
|
|||
$referuri = trim(urldecode($_GET["referuri"]));
|
||||
}
|
||||
|
||||
add_log_line();
|
||||
|
||||
$controller->setParam('user', $user);
|
||||
$controller->setParam('session', $session);
|
||||
$controller->run();
|
||||
|
||||
add_log_line();
|
||||
|
||||
if (isset($referuri) && strlen($referuri)>0) {
|
||||
// header("Location: http".((isset($_SERVER['HTTPS']) && (strcmp($_SERVER['HTTPS'],'off')!=0)) ? "s" : "")."://".$_SERVER['HTTP_HOST'] . $referuri);
|
||||
header("Location: " . $referuri);
|
||||
|
|
Loading…
Reference in New Issue
Block a user