mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 01:39:24 +02:00
parent
813fea282c
commit
1ad8b7277b
7 changed files with 183 additions and 129 deletions
|
@ -119,7 +119,7 @@ if (isset($_FILES['upl']) && $_FILES['upl']['error'] == 0) {
|
|||
$obj->filename = $filename;
|
||||
$obj->duration = $duration;
|
||||
$obj->videos_id = $id;
|
||||
|
||||
//var_dump($obj->videos_id);exit;
|
||||
if ($extension !== "jpg" && $video->getType() == "image") {
|
||||
sleep(1); // to make sure the file will be available
|
||||
$file = $video->getFilename();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue