mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 10:11:38 +09:00
기본 애드온 활성화 대상을 변경(자동링크, 이미지자동 리사이즈 활성화), 게시물의 소속 모듈이 다르게 접근시 접근 금지 시킴
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4208 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
2ae3b0e54d
commit
73b676ad32
3 changed files with 7 additions and 2 deletions
|
|
@ -170,6 +170,7 @@
|
|||
// 일단 입력된 값들을 모두 받아서 db 입력항목과 그외 것으로 분리
|
||||
if(!$args) {
|
||||
$args = Context::gets('module_srl','module_category_srl','board_name','layout_srl','skin','browser_title','description','is_default','header_text','footer_text','admin_id');
|
||||
$extra_var = delObjectVars(Context::getRequestVars(), $args);
|
||||
}
|
||||
|
||||
$args->module = 'board';
|
||||
|
|
@ -178,7 +179,6 @@
|
|||
if($args->is_default!='Y') $args->is_default = 'N';
|
||||
|
||||
// 기본 값외의 것들을 정리
|
||||
$extra_var = delObjectVars(Context::getRequestVars(), $args);
|
||||
if($extra_var->use_category!='Y') $extra_var->use_category = 'N';
|
||||
if($extra_var->except_notice!='Y') $extra_var->except_notice = 'N';
|
||||
if($extra_var->consultation!='Y') $extra_var->consultation = 'N';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue