mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-03-22 13:30:05 +01:00
Ignore warnings for unsupported images.
This commit is contained in:
parent
d76e1194d1
commit
a3a236d2e1
@ -57,7 +57,7 @@ class Thumb {
|
||||
|
||||
$et = false;
|
||||
if (function_exists("exif_thumbnail")) {
|
||||
$et = exif_thumbnail($source_abs_path);
|
||||
$et = @exif_thumbnail($source_abs_path);
|
||||
}
|
||||
if($et !== false) {
|
||||
file_put_contents($thumb_abs_path, $et);
|
||||
|
Loading…
x
Reference in New Issue
Block a user