class item_list 모바일 적용
This commit is contained in:
@ -3,9 +3,6 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
|
||||
if (!defined('G4_USE_SHOP') || !G4_USE_SHOP) return;
|
||||
|
||||
include_once(G4_LIB_PATH.'/shop.lib.php');
|
||||
include_once(G4_LIB_PATH.'/thumbnail.lib.php');
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// 쇼핑몰 상수 모음 시작
|
||||
//------------------------------------------------------------------------------
|
||||
@ -53,18 +50,20 @@ define(_MISU_QUERY_, "
|
||||
//==============================================================================
|
||||
// 쇼핑몰 필수 실행코드 모음 시작
|
||||
//==============================================================================
|
||||
|
||||
// 쇼핑몰 설정값 배열변수
|
||||
$default = sql_fetch(" select * from {$g4['shop_default_table']} ");
|
||||
|
||||
if (G4_IS_MOBILE) {
|
||||
$shop_skin_path = G4_MOBILE_PATH.'/'.G4_SKIN_DIR.'/shop/'.$default['de_shop_mobile_skin'];
|
||||
$shop_skin_url = G4_MOBILE_URL .'/'.G4_SKIN_DIR.'/shop/'.$default['de_shop_mobile_skin'];
|
||||
} else {
|
||||
$shop_skin_path = G4_PATH.'/'.G4_SKIN_DIR.'/shop/'.$default['de_shop_mobile_skin'];
|
||||
$shop_skin_url = G4_URL .'/'.G4_SKIN_DIR.'/shop/'.$default['de_shop_mobile_skin'];
|
||||
}
|
||||
define('G4_SHOP_SKIN_PATH', G4_PATH.'/'.G4_SKIN_DIR.'/shop/'.$default['de_shop_skin']);
|
||||
define('G4_SHOP_SKIN_URL', G4_URL .'/'.G4_SKIN_DIR.'/shop/'.$default['de_shop_skin']);
|
||||
define('G4_MSHOP_SKIN_PATH', G4_MOBILE_PATH.'/'.G4_SKIN_DIR.'/shop/'.$default['de_shop_mobile_skin']);
|
||||
define('G4_MSHOP_SKIN_URL', G4_MOBILE_URL .'/'.G4_SKIN_DIR.'/shop/'.$default['de_shop_mobile_skin']);
|
||||
|
||||
//==============================================================================
|
||||
// 쇼핑몰 필수 실행코드 모음 끝
|
||||
//==============================================================================
|
||||
|
||||
|
||||
include_once(G4_LIB_PATH.'/shop.lib.php');
|
||||
include_once(G4_LIB_PATH.'/thumbnail.lib.php');
|
||||
?>
|
||||
Reference in New Issue
Block a user