From 3c323ef6436651613f6833bbc98dbd82911da00f Mon Sep 17 00:00:00 2001 From: thisgun Date: Wed, 23 Oct 2019 10:37:22 +0900 Subject: [PATCH] =?UTF-8?q?hook=20=EA=B5=AC=EB=AC=B8=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bbs/view_image.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bbs/view_image.php b/bbs/view_image.php index f988deeb5..efa8d5a10 100644 --- a/bbs/view_image.php +++ b/bbs/view_image.php @@ -34,9 +34,9 @@ if(run_replace('exists_view_image', $file_exists, $filepath, $editor_file)) { $height = (isset($size[1]) && $size[1]) ? (int) $size[1] : 0; if($editor_file) - $fileurl = G5_DATA_URL.'/'.$editor_file; + $fileurl = run_replace('get_editor_content_url', G5_DATA_URL.'/'.$editor_file); else - $fileurl = G5_DATA_URL.'/file/'.$bo_table.'/'.$filename; + $fileurl = run_replace('get_file_board_url', G5_DATA_URL.'/file/'.$bo_table.'/'.$filename, $bo_table); $img_attr = ($width && $height) ? 'width="'.$width.'" height="'.$height.'"' : '';