This commit is contained in:
Pierre Rudloff 2016-07-30 12:41:20 +02:00
parent 782d4e124e
commit ef65cb502b

View file

@ -120,7 +120,6 @@ class FrontController
$url = $this->download->getURL($params["url"], 'mp3[protocol^=http]'); $url = $this->download->getURL($params["url"], 'mp3[protocol^=http]');
return $response->withRedirect($url); return $response->withRedirect($url);
} catch (\Exception $e) { } catch (\Exception $e) {
$response = $response->withHeader( $response = $response->withHeader(
'Content-Disposition', 'Content-Disposition',
'attachment; filename="'. 'attachment; filename="'.