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:
parent
2104b53761
commit
90e91b1a55
1 changed files with 1 additions and 1 deletions
|
@ -1030,7 +1030,7 @@ SQL;
|
||||||
$file = $storedFile->getPropelOrm();
|
$file = $storedFile->getPropelOrm();
|
||||||
//Even local files are downloaded through the REST API in case we need to transform
|
//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)
|
//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();
|
//$uri = $file->getAbsoluteFilePath();
|
||||||
|
|
||||||
$filesize = $file->getFileSize();
|
$filesize = $file->getFileSize();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue