mirror of
https://github.com/danpros/htmly.git
synced 2026-04-19 03:56:21 +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);
|
$imageFile = pathinfo($path, PATHINFO_FILENAME);
|
||||||
$thumbFile = $dirThumb . $imageFile. '-' . $width . '.jpg';
|
$thumbFile = $dirThumb . $imageFile. '-' . $width . '.webp';
|
||||||
if (!file_exists($thumbFile)) {
|
if (!file_exists($thumbFile)) {
|
||||||
create_thumb($path, $width);
|
create_thumb($path, $width);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue