1
0
Fork 0
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:
DanieL 2023-01-26 14:15:36 -03:00
parent f509db6cc6
commit f574e97d2a
32 changed files with 1297 additions and 435 deletions

View file

@ -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) {