모바일 접속시 include 파일관련 코드 추가
This commit is contained in:
@ -1,6 +1,11 @@
|
|||||||
<?php
|
<?php
|
||||||
include_once('./_common.php');
|
include_once('./_common.php');
|
||||||
|
|
||||||
|
if (G4_IS_MOBILE) {
|
||||||
|
include_once(G4_MSHOP_PATH.'/orderform.php');
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
set_session("ss_direct", $sw_direct);
|
set_session("ss_direct", $sw_direct);
|
||||||
// 장바구니가 비어있는가?
|
// 장바구니가 비어있는가?
|
||||||
if ($sw_direct) {
|
if ($sw_direct) {
|
||||||
|
|||||||
@ -1,5 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
include_once("./_common.php");
|
include_once('./_common.php');
|
||||||
|
|
||||||
|
if (G4_IS_MOBILE) {
|
||||||
|
include_once(G4_MSHOP_PATH.'/orderinquiry.php');
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
define("_ORDERINQUIRY_", true);
|
define("_ORDERINQUIRY_", true);
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,11 @@
|
|||||||
<?php
|
<?php
|
||||||
include_once('./_common.php');
|
include_once('./_common.php');
|
||||||
|
|
||||||
|
if (G4_IS_MOBILE) {
|
||||||
|
include_once(G4_MSHOP_PATH.'/orderinquiryview.php');
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// 불법접속을 할 수 없도록 세션에 아무값이나 저장하여 hidden 으로 넘겨서 다음 페이지에서 비교함
|
// 불법접속을 할 수 없도록 세션에 아무값이나 저장하여 hidden 으로 넘겨서 다음 페이지에서 비교함
|
||||||
$token = md5(uniqid(rand(), true));
|
$token = md5(uniqid(rand(), true));
|
||||||
set_session("ss_token", $token);
|
set_session("ss_token", $token);
|
||||||
|
|||||||
Reference in New Issue
Block a user