한곳만 접근권한 걸려고합니다.. 채택완료
저기서 레저부분에만
접근권한을 부여할려고 했는데
골프,렌터카도 접근이 걸리네요
Copy
else if( $crow['code'] === "0401" ){ if( IS_MOBILE ){ require_once MOBILE_SKIN_PATH . "order/order_rentcar.php"; } else{ require_once SKIN_PATH . "order/order_rentcar.php"; } } else if( $crow['code'] === "0403" ){ if( IS_MOBILE ){ require_once MOBILE_SKIN_PATH . "order/order_golf.php"; } else{ require_once SKIN_PATH . "order/order_golf.php"; } }}else if( substr( $crow['code'], 0, 2 ) === "05" ){ if( $member->grade == '3'){ msgChangeUrl( "본 서비스는 정회원은 이용하실 수 없습니다."); historyback;} if( IS_MOBILE ){ require_once MOBILE_SKIN_PATH . "order/order_leisure.php"; } else{ require_once SKIN_PATH . "order/order_leisure.php"; }}else{ }
답변 1개
채택된 답변
+20 포인트
8년 전
으흠? 소스상으로는 code 05 에만 적용이 되어
order_leisure.php 파일만 적용이 될텐데요?
이 소스를 제외한 상단 소스를 확인해 보세요!
로그인 후 평가할 수 있습니다
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인