strict standards 오류 문의입니다ㅠㅠ 채택완료
Strict Standards: Only variables should be passed by reference in /host/home4/deepkiss/html/gnuboard4/skin/board/web_paint_v3/a_function.php on line 17
이런 오류가 발생하는데요.
(오류 페이지: http://deepkiss.dothome.co.kr/gnuboard4/bbs/board.php?bo_table=test&page=1" target="_self">http://deepkiss.dothome.co.kr/gnuboard4/bbs/board.php?bo_table=test&page=1)
</span></p><p><span style="font-size: 11pt; line-height: 1.5;"></span><?</p><p>if (!defined("_GNUBOARD_")) exit;</p><p>$captchano2 = $captchano;</p><p>//아이콘파일</p><p>$icon_include='a_icon_auto.php';</p><p>//아이콘경로</p><p>$icon_dir=$g4['path'].'/img/web_paint_icon';</p><p>//소속아이콘 가로 제한</p><p>$guild_width=200;</p><p>//소속아이콘 세로 제한</p><p>$guild_height=100;</p><p>//디자인버튼 사용여부 사용 : true / 사용안함 : false</p><p>$design_button=false;</p><p>$is_comment_write = false;</p><p>if (($member['mb_level'] >= $board['bo_comment_level'])||$is_admin) $is_comment_write = true;</p><p>if($board['bo_5']){$theme_img_dir='theme/'.$board['bo_5'].'/img';$theme_dir='theme/'.$board['bo_5'].'/';} else {$theme_img_dir='img';$theme_dir='';}</p><p>$buffer2=end(explode('/',$_SERVER['SCRIPT_NAME']));</p><p>if($buffer2=='a_config_adm.php'||$buffer2=='a_config_update.php')$admpage=true;else$admpage=false;</p><p>if(get_cookie($bo_table.'_table_style')&&!$table_style)$table_style=get_cookie($bo_table.'_table_style');</p><p>if(get_cookie($bo_table.'_theme')&&!$theme)$theme=get_cookie($bo_table.'_theme');</p><p>if($design_button&&!$admpage){</p><p><span class="Apple-tab-span" style="white-space:pre"> </span>if($table_style){</p><p><span class="Apple-tab-span" style="white-space:pre"> </span>switch($table_style){</p><p><span class="Apple-tab-span" style="white-space:pre"> </span>case'wtable';$table_shape='w';$list_table_width=($list_table_width<=100)?$list_table_width:($wt_auto_cs+$img_w_resize+21);break;</p><p><span class="Apple-tab-span" style="white-space:pre"> </span>case'htable';$table_shape='h';$list_table_width=($list_table_width<=100)?$list_table_width:($img_w_resize+21);break;</p><p><span class="Apple-tab-span" style="white-space:pre"> </span>}</p><p><span class="Apple-tab-span" style="white-space: pre;"> </span>}</p><p>.</p><p>.</p><p>.</p><p> </p><p>
여기서
</p><p>$buffer2=end(explode('/',$_SERVER['SCRIPT_NAME'])); </p><p>
이걸 수정해야하는 것 같은데, 어떻게 분리해야되는지도 모르겠고 이쪽으로 지식이 전혀 없어서 헤메이는 중입니다ㅠㅠ
이렇게 질문하는 게 맞는지 모르겠으나 도움주시면 감사하겠습니다..!
답변 1개
답변을 작성하려면 로그인이 필요합니다.
로그인