From 63f8c9d5a51cffb0a4251df7ba9920b1ec54d583 Mon Sep 17 00:00:00 2001 From: chicpro Date: Tue, 29 Jan 2013 17:06:48 +0900 Subject: [PATCH] =?UTF-8?q?get=5Flarge=5Fimage=20=ED=95=A8=EC=88=98=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/shop.lib.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/shop.lib.php b/lib/shop.lib.php index e0dad79a5..68dd1ba72 100644 --- a/lib/shop.lib.php +++ b/lib/shop.lib.php @@ -211,12 +211,12 @@ function get_large_image($img, $it_id, $btn_image=true) { global $g4; - if (file_exists("$g4[path]/data/item/$img") && $img != "") + if (file_exists(G4_DATA_PATH."/item/$img") && $img != "") { - $size = getimagesize("$g4[path]/data/item/$img"); + $size = getimagesize(G4_DATA_PATH."/item/$img"); $width = $size[0]; $height = $size[1]; - $str = ""; + $str = ""; if ($btn_image) $str .= ""; }