mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 01:39:24 +02:00
Update
This commit is contained in:
parent
8392310423
commit
7e2e69cf2e
1 changed files with 21 additions and 14 deletions
|
@ -102,6 +102,13 @@ if(!empty($_REQUEST['cacheDownload'])){
|
|||
}
|
||||
//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($advancedCustom->doNotUseXsendFile);
|
||||
if (file_exists($path)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue