뭘 불러오나요 채택완료
// 보관기간이 지난 상품 삭제 cart_item_clean();
$sw_direct = isset($_REQUEST['sw_direct']) ? (int) $_REQUEST['sw_direct'] : 0;
// cart id 설정 set_cart_id($sw_direct);
$s_cart_id = get_session('ss_cart_id'); // 선택필드 초기화 $sql = " update {$g5['g5_shop_cart_table']} set ct_select = '0' where od_id = '$s_cart_id' "; sql_query($sql);
$cart_action_url = G5_SHOP_URL.'/cartupdate.php';
if(function_exists('before_check_cart_price')) { before_check_cart_price($s_cart_id, true, true, true); }
if (G5_IS_MOBILE) { include_once(G5_MSHOP_PATH.'/cart.php'); return; }
// 테마에 cart.php 있으면 include if(defined('G5_THEME_SHOP_PATH')) { $theme_cart_file = G5_THEME_SHOP_PATH.'/cart.php'; if(is_file($theme_cart_file)) { include_once($theme_cart_file); return; unset($theme_cart_file); } }
$g5['title'] = '장바구니'; include_once('./_head.php'); ?>
여기에서 include_once('./_head.php'); 이게 어디에 있는 뭘 불러오나요?
답변 4개
include_once('./_head.php'); 는 현 location에 있는 head..php 파일을 include 하는겁니다.
답변에 대한 댓글 1개
댓글을 작성하려면 로그인이 필요합니다.
와 그런데 무척이나 비비꼬아 놨네요,,테마인데 테마아닌 폴더의 cart를 불러오더니 이제 _head를 불러오더니 다시 include_once(G5_SHOP_PATH.'/shop.head.php');이걸불러오네,,인덱스에서는 테마거를 불러오더니...이걸게 만들기도 어렷겟어요,,,ㅋㅋ 개념이 없는거라고 보는게 정확하겠죠..// 테마에 cart.php 있으면 include if(defined('G5_THEME_SHOP_PATH')) { $theme_cart_file = G5_THEME_SHOP_PATH.'/cart.php';코드에는 있으면 불러온다고 하더니 이건 되지도 않고 ㅋㅋ
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인