From b0543b7a5968f5a39f147e48765fe339c8b462a2 Mon Sep 17 00:00:00 2001 From: Daniel Neto Date: Wed, 27 Nov 2024 17:33:18 -0300 Subject: [PATCH] Update --- objects/Encoder.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/objects/Encoder.php b/objects/Encoder.php index 78d443aa..6dff7f5e 100644 --- a/objects/Encoder.php +++ b/objects/Encoder.php @@ -2600,6 +2600,10 @@ public function delete() @rrmdir($file); } } + $files = glob("{$global['systemRootPath']}videos/pytube/video_download_{$this->id}"); // get all file names + foreach ($files as $file) { // iterate files + @rrmdir($file); + } $this->deleteOriginal(); if (!empty($global['progressiveUpload'])) {