Skip to content

Commit e8df0f4

Browse files
committed
THUMB_DIRが未定義になっていたのを修正。
1 parent 7b16ee5 commit e8df0f4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

logconverter/bbsnote2/bbsnote2petit.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -598,12 +598,12 @@ private static function createThumbnailImage($im_out, $time, $options): ?string
598598

599599
}elseif(isset($options['thumbnail_webp'])){
600600

601-
$outfile=THUMB_DIR.$time.'s.webp';
601+
$outfile="petit/thumbnail/{$time}s.webp";
602602
ImageWEBP($im_out, $outfile,90);
603603

604604
}else{
605605

606-
$outfile=THUMB_DIR.$time.'s.jpg';
606+
$outfile="petit/thumbnail/{$time}s.jpg";
607607
// サムネイル画像を保存
608608
ImageJPEG($im_out, $outfile,90);
609609

0 commit comments

Comments
 (0)