Naam van downloadbestand aangepast van 6FM naar NH Gooi
This commit is contained in:
@@ -140,7 +140,7 @@ QUERY;
|
||||
}
|
||||
|
||||
return response()->download($podcast->getSoundfile(),
|
||||
'6FM Gemist - ' . str_replace('/', '-', $podcast->title) . '.mp3');
|
||||
'NH Gooi Gemist - ' . str_replace('/', '-', $podcast->title) . '.mp3');
|
||||
}
|
||||
|
||||
/***
|
||||
@@ -174,7 +174,7 @@ QUERY;
|
||||
public function latestNews(Request $request) {
|
||||
$filename = '/var/audio/regionieuws.mp3';
|
||||
return response()->download($filename,
|
||||
'6FM Regionieuws ' . date('d-m-Y') . '.mp3');
|
||||
'NH Gooi Regionieuws ' . date('d-m-Y') . '.mp3');
|
||||
|
||||
$size = filesize($filename);
|
||||
$content = fread($file, $size);
|
||||
|
||||
Reference in New Issue
Block a user