From 1bd96a61bd1ff5b981d5e54337d0f45a2005a8b3 Mon Sep 17 00:00:00 2001 From: whitedot Date: Tue, 30 Apr 2013 20:36:20 +0900 Subject: [PATCH] =?UTF-8?q?=EC=87=BC=ED=95=91=EB=AA=B0:=20=EC=87=BC?= =?UTF-8?q?=ED=95=91=EB=AA=B0=20=ED=95=A8=EC=88=98=20=EC=A0=95=EB=A6=AC=20?= =?UTF-8?q?=EB=B3=B4=EC=99=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/shop.lib.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/shop.lib.php b/lib/shop.lib.php index 1548776b1..a053e6008 100644 --- a/lib/shop.lib.php +++ b/lib/shop.lib.php @@ -28,16 +28,16 @@ function get_image($img, $width=0, $height=0) $width = $size[0]; $height = $size[1]; } - $str = ''; + $str = ''; } else { - $str = ''; } @@ -152,7 +152,7 @@ function upload_file($srcfile, $destfile, $dir) if ($destfile == "") return false; // 업로드 한후 , 퍼미션을 변경함 @move_uploaded_file($srcfile, $dir.'/'.$destfile); - @chmod($dir'./.'$destfile, 0606); + @chmod($dir.'/'.$destfile, 0606); return true; } @@ -216,7 +216,7 @@ function display_type($type, $skin_file, $list_mod, $list_row, $img_width, $img_ return false; } - $file = G4_SHOP_PATH.'/'$skin_file; + $file = G4_SHOP_PATH.'/'.$skin_file; if (!file_exists($file)) { echo $file.' 파일을 찾을 수 없습니다.'; } else { @@ -690,9 +690,9 @@ function display_relation_item($it_id, $width, $height, $rows=3) if(is_file($full_img)) { $img_url = G4_DATA_URL.'/item/'.$row['it_id'].'_s'; - $img = ''; + $img = ''; } else { - $img = ''; + $img = ''; } $str .= '
  • '.$img.'
  • ';