mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-05 19:42:38 +02:00
Add a new video status
unlisted but searchable
This commit is contained in:
parent
f509db6cc6
commit
f574e97d2a
32 changed files with 1297 additions and 435 deletions
|
@ -3922,11 +3922,11 @@ function convertImageToRoku($source, $destination) {
|
|||
|
||||
function convertImageIfNotExists($source, $destination, $width, $height, $scaleUp = true) {
|
||||
if (empty($source)) {
|
||||
_error_log("convertImageToRoku: source image is empty");
|
||||
_error_log("convertImageIfNotExists: source image is empty");
|
||||
return false;
|
||||
}
|
||||
if (!file_exists($source)) {
|
||||
_error_log("convertImageToRoku: source does not exists");
|
||||
_error_log("convertImageIfNotExists: source does not exists");
|
||||
return false;
|
||||
}
|
||||
if (file_exists($destination) && filesize($destination) > 1024) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue