diff --git a/classes/VideoDownload.php b/classes/VideoDownload.php index 0379eaa..e72789c 100644 --- a/classes/VideoDownload.php +++ b/classes/VideoDownload.php @@ -98,6 +98,7 @@ class VideoDownload $process = $this->getProcess($arguments); //This is needed by the openload extractor because it runs PhantomJS $process->setEnv(['QT_QPA_PLATFORM'=>'offscreen']); + $process->inheritEnvironmentVariables(); $process->run(); if (!$process->isSuccessful()) { $errorOutput = trim($process->getErrorOutput());