hook 구문 추가

This commit is contained in:
thisgun
2019-10-23 10:37:22 +09:00
parent 1a82914861
commit 3c323ef643
+2 -2
View File
@@ -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.'"' : '';