Commit ac9066e4 authored by 蒋林's avatar 蒋林

http

parent 6e3d623d
......@@ -143,12 +143,12 @@ class ClientCas
}
if (!$iscas && $islogin) {
$selfurl = $_SERVER['REQUEST_SCHEME'] . '://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
$selfurl = 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
$url = $this->casLoginUrl($selfurl);
header("Location: $url");
} elseif ($iscas && $islogin === false) {
EmptyEcmsCookie();
$selfurl = $_SERVER['REQUEST_SCHEME'] . '://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
$selfurl = 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
header("Location: $selfurl");
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment