1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 17:59:55 +02:00

Version fix

This commit is contained in:
DanielnetoDotCom 2020-12-02 18:28:32 -03:00
parent 14a7bebf99
commit ecb1292bae
2 changed files with 4 additions and 2 deletions

View file

@ -4,7 +4,7 @@ if (file_exists("../videos/configuration.php")) {
exit; exit;
} }
$installationVersion = "9.7"; $installationVersion = "10.0";
error_log("Installation: ".__LINE__." ". json_encode($_POST)); error_log("Installation: ".__LINE__." ". json_encode($_POST));
header('Content-Type: application/json'); header('Content-Type: application/json');

View file

@ -2628,8 +2628,10 @@ if (!class_exists('Video')) {
//} //}
$cacheName = md5($filename . $type . $includeS3); $cacheName = md5($filename . $type . $includeS3);
if (isset($VideoGetSourceFile[$cacheName])) { if (isset($VideoGetSourceFile[$cacheName])) {
if(!preg_match("/token=/", $VideoGetSourceFile[$cacheName]['url'])){
return $VideoGetSourceFile[$cacheName]; return $VideoGetSourceFile[$cacheName];
} }
}
// check if there is a webp image // check if there is a webp image