mirror of
https://github.com/danpros/htmly.git
synced 2026-04-17 19:26:08 +05:30
Update upload.php
This commit is contained in:
parent
5188124fa1
commit
308a078ef8
1 changed files with 1 additions and 1 deletions
|
|
@ -47,7 +47,7 @@ if (login()) {
|
|||
}
|
||||
|
||||
$imageFile = pathinfo($path, PATHINFO_FILENAME);
|
||||
$thumbFile = $dirThumb . $imageFile. '-' . $width . '.jpg';
|
||||
$thumbFile = $dirThumb . $imageFile. '-' . $width . '.webp';
|
||||
if (!file_exists($thumbFile)) {
|
||||
create_thumb($path, $width);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue