모바일 접속시 include 파일관련 코드 추가
This commit is contained in:
@ -1,10 +1,16 @@
|
||||
<?php
|
||||
include_once("./_common.php");
|
||||
include_once(G4_LIB_PATH.'/latest.lib.php');
|
||||
include_once(G4_LIB_PATH.'/poll.lib.php');
|
||||
include_once('./_common.php');
|
||||
|
||||
if (G4_IS_MOBILE) {
|
||||
include_once(G4_MSHOP_PATH.'/index.php');
|
||||
return;
|
||||
}
|
||||
|
||||
define("_INDEX_", TRUE);
|
||||
|
||||
include_once(G4_LIB_PATH.'/latest.lib.php');
|
||||
include_once(G4_LIB_PATH.'/poll.lib.php');
|
||||
|
||||
include_once(G4_SHOP_PATH.'/shop.head.php');
|
||||
?>
|
||||
|
||||
|
||||
@ -1,5 +1,11 @@
|
||||
<?php
|
||||
include_once('./_common.php');
|
||||
|
||||
if (G4_IS_MOBILE) {
|
||||
include_once(G4_MSHOP_PATH.'/item.php');
|
||||
return;
|
||||
}
|
||||
|
||||
include_once(G4_LIB_PATH.'/iteminfo.lib.php');
|
||||
include_once(G4_GCAPTCHA_PATH.'/gcaptcha.lib.php');
|
||||
|
||||
|
||||
@ -1,5 +1,10 @@
|
||||
<?php
|
||||
include_once("./_common.php");
|
||||
include_once('./_common.php');
|
||||
|
||||
if (G4_IS_MOBILE) {
|
||||
include_once(G4_MSHOP_PATH.'/list.php');
|
||||
return;
|
||||
}
|
||||
|
||||
$sql = " select *
|
||||
from {$g4['shop_category_table']}
|
||||
|
||||
@ -1,5 +1,11 @@
|
||||
<?php
|
||||
include_once('./_common.php');
|
||||
|
||||
if (G4_IS_MOBILE) {
|
||||
include_once(G4_MSHOP_PATH.'/listtype.php');
|
||||
return;
|
||||
}
|
||||
|
||||
include_once('./_head.php');
|
||||
|
||||
$type = $_REQUEST['type'];
|
||||
|
||||
@ -1,6 +1,11 @@
|
||||
<?php
|
||||
include_once('./_common.php');
|
||||
|
||||
if (G4_IS_MOBILE) {
|
||||
include_once(G4_MSHOP_PATH.'/mypage.php');
|
||||
return;
|
||||
}
|
||||
|
||||
if (!$is_member)
|
||||
goto_url(G4_BBS_URL."/login.php?url=".urlencode(G4_SHOP_URL."/mypage.php"));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user