mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-06 03:50:04 +02:00
Update
This commit is contained in:
parent
c60b4fb91e
commit
fd8d9e1b46
1 changed files with 1 additions and 0 deletions
|
@ -11,6 +11,7 @@ ob_end_flush();
|
||||||
|
|
||||||
function download($url, $filename, $path, $forceDownload = false) {
|
function download($url, $filename, $path, $forceDownload = false) {
|
||||||
if(empty($url) || preg_match('/view.img/', $url)){
|
if(empty($url) || preg_match('/view.img/', $url)){
|
||||||
|
echo ("importChannel::download ERROR on url {$url}").PHP_EOL;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
$parts = explode("/{$filename}/", $url);
|
$parts = explode("/{$filename}/", $url);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue