Source of file batchProcess.php
Size: 0,405 Bytes - Last Modified: 2017-08-17T04:43:27+02:00
C:/xampp/htdocs/PodTube/src/batchProcess.php
12345678910111213141516 | <?php use AudioDidact\GlobalFunctions; require_once __DIR__ . "/header.php"; $dal = GlobalFunctions::getDAL(); $pruneVids = $dal->getPrunableVideos(); foreach($pruneVids as $v){ $downloadPath = DOWNLOAD_PATH . DIRECTORY_SEPARATOR . $v; @unlink($downloadPath . ".mp3"); @unlink($downloadPath . ".mp4"); @unlink($downloadPath . ".jpg"); echo "Unsetting " . $downloadPath . "<br/>"; } |