Changeset 1604146
- Timestamp:
- 02/27/2017 01:48:14 AM (9 years ago)
- Location:
- gnucommerce/trunk
- Files:
-
- 7 edited
-
adm/itemformrelation.php (modified) (1 diff)
-
config.php (modified) (1 diff)
-
gnucommerce.php (modified) (1 diff)
-
lib/gc_client.lib.php (modified) (2 diffs)
-
lib/gc_shop.lib.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
shop/lg/mispwapurl.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
gnucommerce/trunk/adm/itemformrelation.php
r1442174 r1604146 61 61 $list = '<ul>'.$list.'</ul>'; 62 62 else 63 $list = '<p>등록된 상품이 없습니다. ';63 $list = '<p>등록된 상품이 없습니다.</p>'; 64 64 65 65 echo $list; -
gnucommerce/trunk/config.php
r1577667 r1604146 5 5 6 6 public function __construct() { 7 define( 'GC_VERSION', '1.4. 1' );7 define( 'GC_VERSION', '1.4.2' ); 8 8 define( 'GC_NAME', 'gnucommerce' ); 9 9 define( 'GC_OPTION_KEY', 'gc_options' ); //쇼핑몰옵션키 -
gnucommerce/trunk/gnucommerce.php
r1577667 r1604146 5 5 * Author: SIR Soft 6 6 * Author URI: http://sir.kr 7 * Version: 1.4. 17 * Version: 1.4.2 8 8 * Text Domain: SIR Soft 9 9 */ -
gnucommerce/trunk/lib/gc_client.lib.php
r1568385 r1604146 296 296 } else { 297 297 // Run the query 298 $gc_var->item_query = new GC_Product_Query($args); 298 if( ! is_null($wp_query) && is_post_type_archive(GC_NAME) ){ 299 $gc_var->item_query = $wp_query; 300 } else { 301 $gc_var->item_query = new GC_Product_Query($args); 302 } 299 303 } 300 304 … … 793 797 } 794 798 795 $sql = $wpdb->prepare("SELECT rownum FROM ( select *, (@rownum:=@rownum+1) as rownum from `$write_table` as wr, (select @rownum:=0) tmp where wr.bo_table = '%s' order by wr_num ) A where wr_id = %.0f", $board['bo_table'], $wr_id); 799 $order_field = $board['bo_sort_field'] ? $board['bo_sort_field'] : 'wr_num'; 800 801 $sql = $wpdb->prepare("SELECT rownum FROM ( select *, (@rownum:=@rownum+1) as rownum from `$write_table` as wr, (select @rownum:=0) tmp where wr.bo_table = '%s' order by $order_field ) A where wr_id = %.0f", $board['bo_table'], $wr_id); 796 802 797 803 $rownum = $wpdb->get_var($sql); -
gnucommerce/trunk/lib/gc_shop.lib.php
r1518161 r1604146 875 875 { 876 876 if( is_array($it) ){ 877 if ($it['it_tel_inq']) return '전화문의';877 if ($it['it_tel_inq']) return __('전화문의', 'gnucommerce'); 878 878 879 879 $price = $it['it_price']; 880 880 } else if( is_object($it) ){ 881 if ($it->it_tel_inq) return '전화문의';881 if ($it->it_tel_inq) return __('전화문의', 'gnucommerce'); 882 882 883 883 $price = $it->it_price; -
gnucommerce/trunk/readme.txt
r1577667 r1604146 5 5 Requires at least: 4.0 6 6 Tested up to: 4.7 7 Stable tag: 1.4. 17 Stable tag: 1.4.2 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 64 64 65 65 == Changelog == 66 67 = 1.4.2 = 68 xss 취약점을 고쳤습니다. ( 워드프레스 쪽에서 알려주심 ) 66 69 67 70 = 1.4.1 = -
gnucommerce/trunk/shop/lg/mispwapurl.php
r1442174 r1604146 3 3 // 해당 페이지는 사용자가 ISP{국민/BC) 카드 결제를 성공하였을 때, 사용자에게 보여지는 페이지입니다. 4 4 5 $LGD_OID = isset($_GET['LGD_OID']) ? $_GET['LGD_OID']: '';5 $LGD_OID = isset($_GET['LGD_OID']) ? preg_replace("/[ #\-=\/\\\:;'\"\^`~\_|\!\*$#<>()\[\]\{\}]/i", "", strip_tags($_GET['LGD_OID'])) : ''; 6 6 7 7 echo "LGD_OID = ".$LGD_OID;
Note: See TracChangeset
for help on using the changeset viewer.