테마 장바구니 적용할 수 있도록 수정

This commit is contained in:
chicpro
2015-09-22 14:46:22 +09:00
parent 02c0750848
commit ced60631e4
2 changed files with 20 additions and 0 deletions

View File

@ -1,6 +1,16 @@
<?php
include_once('./_common.php');
// 테마에 cart.php 있으면 include
if(defined('G5_THEME_MSHOP_PATH')) {
$theme_cart_file = G5_THEME_MSHOP_PATH.'/cart.php';
if(is_file($theme_cart_file)) {
include_once($theme_cart_file);
return;
unset($theme_cart_file);
}
}
$g5['title'] = '장바구니';
include_once(G5_MSHOP_PATH.'/_head.php');