1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 01:39:24 +02:00
This commit is contained in:
Daniel Neto 2025-02-11 22:01:51 -03:00
parent 8392310423
commit 7e2e69cf2e

View file

@ -102,6 +102,13 @@ if(!empty($_REQUEST['cacheDownload'])){
} }
//var_dump($path, $file, $_GET);exit; //var_dump($path, $file, $_GET);exit;
} }
if (!file_exists($path)) {
if (preg_match('/.mp4/', $file)) {
$path = str_replace($file, 'index.mp4', $path);
}
}
//header('Content-Type: application/json');var_dump(__LINE__, $_SERVER["REQUEST_URI"], $file, $path);exit; //header('Content-Type: application/json');var_dump(__LINE__, $_SERVER["REQUEST_URI"], $file, $path);exit;
//header('Content-Type: application/json');var_dump($advancedCustom->doNotUseXsendFile); //header('Content-Type: application/json');var_dump($advancedCustom->doNotUseXsendFile);
if (file_exists($path)) { if (file_exists($path)) {