cfmgrv4 init...2
This commit is contained in:
parent
b21f1db3cd
commit
4ff68e9366
@ -355,7 +355,7 @@ abstract class MVController extends CommonController
|
|||||||
//모델 처리
|
//모델 처리
|
||||||
$this->entitys = $this->list_entitys_process();
|
$this->entitys = $this->list_entitys_process();
|
||||||
// 현재 URL을 스택에 저장
|
// 현재 URL을 스택에 저장
|
||||||
$this->myauth->pushCurrentUrl($this->request->getUri()->getPath());
|
$this->myauth->pushCurrentUrl($this->request->getUri()->getPath() . "?" . $this->request->getUri()->getQuery());
|
||||||
return view(
|
return view(
|
||||||
$this->view_path . "index",
|
$this->view_path . "index",
|
||||||
['viewDatas' => $this->getViewDatas()]
|
['viewDatas' => $this->getViewDatas()]
|
||||||
|
|||||||
@ -30,7 +30,7 @@ class AuthFilter implements FilterInterface
|
|||||||
// log_message("debug", var_export($arguments, true));
|
// log_message("debug", var_export($arguments, true));
|
||||||
// 로그인 않했으면
|
// 로그인 않했으면
|
||||||
if (!$auth->isLoggedIn()) {
|
if (!$auth->isLoggedIn()) {
|
||||||
$auth->pushCurrentUrl($request->getUri()->getPath());
|
$auth->pushCurrentUrl($request->getUri()->getPath() . "?" . $request->getUri()->getQuery());
|
||||||
return redirect()->to(URLS['LOGIN'])->with('error', '로그인을하셔야합니다.');
|
return redirect()->to(URLS['LOGIN'])->with('error', '로그인을하셔야합니다.');
|
||||||
}
|
}
|
||||||
//User Role 비교 // 회원 ROLES이 필요ROLE($arguments) 목록에 존재하지 않으면(ACL)
|
//User Role 비교 // 회원 ROLES이 필요ROLE($arguments) 목록에 존재하지 않으면(ACL)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user