Naam van downloadbestand aangepast van 6FM naar NH Gooi
This commit is contained in:
1 parent
066bcd25ff
commit
187dc565a6
1 file changed
+2
-2
@@ -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