mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 19:21:40 +09:00
#345 is_secret 및 모듈 설정 체크 보완.
This commit is contained in:
parent
d6e8951017
commit
e3089dd303
1 changed files with 14 additions and 2 deletions
|
|
@ -205,8 +205,20 @@ class boardController extends board
|
|||
$obj = Context::getRequestVars();
|
||||
$obj->module_srl = $this->module_srl;
|
||||
|
||||
if($this->module_info->secret!='Y') {
|
||||
if(!$this->module_info->use_status) $this->module_info->use_status = 'PUBLIC';
|
||||
if(!is_array($this->module_info->use_status))
|
||||
{
|
||||
$this->module_info->use_status = explode('|@|', $this->module_info->use_status);
|
||||
}
|
||||
|
||||
if(in_array('SECRET', $this->module_info->use_status))
|
||||
{
|
||||
$this->module_info->secret = 'Y';
|
||||
}
|
||||
else
|
||||
{
|
||||
unset($obj->is_secret);
|
||||
$this->module_info->secret = 'N';
|
||||
}
|
||||
|
||||
// check if the doument is existed
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue