Example #1
0
     }
 }
 // 이윰 common 파일
 @(include_once EYOOM_PATH . '/common.php');
 // 템플릿 클래스 오프젝트 생성
 include_once EYOOM_CLASS_PATH . '/template.class.php';
 $tpl = new Template($theme);
 // 스킨화작업이 어려운 파일은 File Hooking
 if ($exchange_file = $tpl->exchange_file()) {
     @(include_once EYOOM_INC_PATH . '/hookedfile.header.php');
     @(include_once $exchange_file);
     return;
 }
 // 쇼핑몰일 경우 Eyoom Core에서 파일 제어하기
 // Eyoom Core에 파일이 없을 경우에는 영카트 파일 실행
 $path = $tpl->get_filename_from_url();
 if (G5_USE_SHOP && $path['dirname'] == G5_SHOP_DIR) {
     if ($eyoom_shop_core = $tpl->eyoom_control()) {
         define('_SHOP_', true);
         // 샵테마를 별도로 지정하고 있는가?
         if ($shop_theme && !$preview && $shop_theme != $theme) {
             unset($tpl, $eyoom);
             if ($shop_theme == 'basic') {
                 include G5_DATA_PATH . "/eyoom.config.php";
             } else {
                 $theme = $shop_theme;
                 include G5_DATA_PATH . "/eyoom." . $shop_theme . ".config.php";
             }
         } else {
             if ($preview) {
                 // 미리보기일 경우, 샵테마를 미리보기 지정 테마로 강제 지정