Update Schedule.php

Removing double slash from $uri, not the solution of permission issue but it won't hurt. 
getStationUrl will always return a slash at the end, so we do not need to add it again in line 1033
This commit is contained in:
Xabi Spacebiker 2017-09-28 11:21:35 +02:00 committed by GitHub
parent 2104b53761
commit 90e91b1a55

View file

@ -1030,7 +1030,7 @@ SQL;
$file = $storedFile->getPropelOrm();
//Even local files are downloaded through the REST API in case we need to transform
//their filenames (eg. in the case of a bad file extension, because Liquidsoap won't play them)
$uri = Application_Common_HTTPHelper::getStationUrl() . "/rest/media/" . $media_id;
$uri = Application_Common_HTTPHelper::getStationUrl() . "rest/media/" . $media_id;
//$uri = $file->getAbsoluteFilePath();
$filesize = $file->getFileSize();