Fix Thumbnail Class
This commit is contained in:
parent
df49b809fe
commit
e0ef230ca4
3 changed files with 0 additions and 1 deletions
BIN
img/video.jpg
BIN
img/video.jpg
Binary file not shown.
Before Width: | Height: | Size: 161 KiB |
BIN
img/video.png
BIN
img/video.png
Binary file not shown.
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 38 KiB |
|
@ -39,7 +39,6 @@ class thumb {
|
||||||
if (!file_exists($dstpath)) {
|
if (!file_exists($dstpath)) {
|
||||||
|
|
||||||
if(str_starts_with(mime_content_type($src), 'video/')) {
|
if(str_starts_with(mime_content_type($src), 'video/')) {
|
||||||
error_log("$src: Video File");
|
|
||||||
return "img/video.png";
|
return "img/video.png";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue