mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 01:39:24 +02:00
Improving the videos directory location
This commit is contained in:
parent
822a494387
commit
551379436d
26 changed files with 70 additions and 59 deletions
|
@ -21,7 +21,7 @@ foreach ($videos as $value) {
|
|||
echo "\nStart: " . $value['title'];
|
||||
ob_flush();
|
||||
$videoFileName = $value['filename'];
|
||||
$destination = "{$global['systemRootPath']}videos/{$videoFileName}.webp";
|
||||
$destination = Video::getStoragePath()."{$videoFileName}.webp";
|
||||
if (!file_exists($destination)) {
|
||||
echo "\nGet webp";
|
||||
ob_flush();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue