mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-30 15:52:17 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@123 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
242b24d369
commit
756ecc1423
28 changed files with 197 additions and 153 deletions
|
|
@ -21,7 +21,7 @@
|
|||
$password = Context::get('password');
|
||||
|
||||
// member controller 객체 생성
|
||||
$oMemberController = getController('member');
|
||||
$oMemberController = &getController('member');
|
||||
return $oMemberController->doLogin($user_id, $password);
|
||||
}
|
||||
|
||||
|
|
@ -30,7 +30,7 @@
|
|||
**/
|
||||
function procLogout() {
|
||||
// member controller 객체 생성
|
||||
$oMemberController = getController('member');
|
||||
$oMemberController = &getController('member');
|
||||
return $oMemberController->doLogout();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,18 +13,5 @@
|
|||
function init() {
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 레이아웃 경로를 return
|
||||
**/
|
||||
function getLayoutPath() {
|
||||
return $this->template_path;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 레이아웃 파일을 return
|
||||
**/
|
||||
function getLayoutTpl() {
|
||||
return "layout.html";
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -12,12 +12,12 @@
|
|||
**/
|
||||
function init() {
|
||||
// 관리자 모듈 목록을 세팅
|
||||
$oModuleModel = getModel('module');
|
||||
$oModuleModel = &getModel('module');
|
||||
$module_list = $oModuleModel->getAdminModuleList();
|
||||
Context::set('module_list', $module_list);
|
||||
|
||||
// 접속 사용자에 대한 체크
|
||||
$oMemberModel = getModel('member');
|
||||
$oMemberModel = &getModel('member');
|
||||
$logged_info = $oMemberModel->getLoggedInfo();
|
||||
|
||||
// 로그인 하지 않았다면 로그인 폼 출력
|
||||
|
|
@ -30,9 +30,8 @@
|
|||
}
|
||||
|
||||
// 관리자용 레이아웃으로 변경
|
||||
$this->setLayoutPath($this->getLayoutPath());
|
||||
$this->setLayoutTpl($this->getLayoutTpl());
|
||||
|
||||
//$this->setLayoutPath($this->getLayoutPath());
|
||||
//$this->setLayoutTpl($this->getLayoutTpl());
|
||||
|
||||
// 로그인/로그아웃 act의 경우는 패스~
|
||||
if(in_array($this->act, array('procLogin', 'procLogout'))) return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue