mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +09:00
Update procMemberAuthAccount
- 불필요한 중복 체크 제거 - 인증 성공시 alert을 사용하지 않고 인증 관련 안내 메시지를 XE_VALIDATOR_MESSAGE에 넣은 후 로그인 화면으로 리다이렉트 - XE_VALIDATOR_MESSAGE를 임의로 지정할 수 있도록 Context::setValidatorMessage() 함수 추가
This commit is contained in:
parent
dc0add9e8c
commit
87d8ba41e3
6 changed files with 37 additions and 36 deletions
|
|
@ -2475,6 +2475,22 @@ class Context
|
|||
return RX_BASEDIR . Rhymix\Framework\Config::$old_ftp_config_filename;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set a validator message
|
||||
*
|
||||
* @param string $id
|
||||
* @param string $message
|
||||
* @param string $type (optional)
|
||||
*/
|
||||
public static function setValidatorMessage($id, $message, $type = 'info')
|
||||
{
|
||||
$_SESSION['XE_VALIDATOR_ID'] = $id;
|
||||
$_SESSION['XE_VALIDATOR_MESSAGE'] = $message;
|
||||
$_SESSION['XE_VALIDATOR_MESSAGE_TYPE'] = $type;
|
||||
$_SESSION['XE_VALIDATOR_ERROR'] = $type === 'error' ? -1 : 0;
|
||||
$_SESSION['XE_VALIDATOR_RETURN_URL'] = null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks whether XE is installed
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue