diff --git a/config.php b/config.php index 6dd74d841..cda58baf6 100644 --- a/config.php +++ b/config.php @@ -19,7 +19,7 @@ if (PHP_VERSION >= '5.3.0') { /* 보안서버 도메인 -회원가입, 글쓰기에 사용되는 https 로 시작되는 주소를 말합니다. +회원가입, 글쓰기에 사용되는 https 로 시작되는 주소를 말합니다. 포트가 있다면 도메인 뒤에 :443 과 같이 입력하세요. 보안서버주소가 없다면 공란으로 두시면 되며 보안서버주소 뒤에 / 는 붙이지 않습니다. 입력예) https://www.domain.com:443/gnuboard4s @@ -56,9 +56,9 @@ define('G4_SYNDI_DIR', 'syndi'); if (G4_DOMAIN) { define('G4_URL', G4_DOMAIN); } else { - if (isset($g4_path['url'])) + if (isset($g4_path['url'])) define('G4_URL', $g4_path['url']); - else + else define('G4_URL', ''); } diff --git a/js/shop.js b/js/shop.js deleted file mode 100644 index 64801f872..000000000 --- a/js/shop.js +++ /dev/null @@ -1,15 +0,0 @@ -if (typeof(SHOP_JS) == 'undefined') { // 한번만 실행 - var SHOP_JS = true; - - // 큰이미지 창 - function popup_large_image(it_id, img, width, height, cart_dir) - { - var top = 10; - var left = 10; - url = cart_dir+"/largeimage.php?it_id=" + it_id + "&img=" + img; - width = width + 50; - height = height + 100; - opt = 'scrollbars=yes,width='+width+',height='+height+',top='+top+',left='+left; - popup_window(url, "largeimage", opt); - } -} \ No newline at end of file diff --git a/shop/index.php b/shop/index.php index 0a020346d..0c9b8c106 100644 --- a/shop/index.php +++ b/shop/index.php @@ -8,8 +8,6 @@ define("_INDEX_", TRUE); include_once(G4_SHOP_PATH.'/shop.head.php'); ?> - -