mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-08-06 13:26:38 +02:00
Ignore warnings for unsupported images.
This commit is contained in:
@@ -57,7 +57,7 @@ class Thumb {
|
|||||||
|
|
||||||
$et = false;
|
$et = false;
|
||||||
if (function_exists("exif_thumbnail")) {
|
if (function_exists("exif_thumbnail")) {
|
||||||
$et = exif_thumbnail($source_abs_path);
|
$et = @exif_thumbnail($source_abs_path);
|
||||||
}
|
}
|
||||||
if($et !== false) {
|
if($et !== false) {
|
||||||
file_put_contents($thumb_abs_path, $et);
|
file_put_contents($thumb_abs_path, $et);
|
||||||
|
Reference in New Issue
Block a user