1:1문의 설정 가져오는 코드 위치 변경

This commit is contained in:
chicpro
2014-10-27 18:20:54 +09:00
parent 5f12b870e6
commit e7c1835b19

View File

@ -12,6 +12,9 @@ if($is_guest)
$msg = array();
// 1:1문의 설정값
$qaconfig = get_qa_config();
// e-mail 체크
if(isset($_POST['qa_email']) && $qa_email) {
$qa_email = get_email_address(trim($_POST['qa_email']));
@ -69,9 +72,6 @@ for ($i=1; $i<=5; $i++) {
}
}
// 1:1문의 설정값
$qaconfig = get_qa_config();
if($w == 'u' || $w == 'a' || $w == 'r') {
if($w == 'a' && !$is_admin)
alert('답변은 관리자만 등록할 수 있습니다.');