Changed PYPO's download URL scheme from https to http
This commit is contained in:
parent
70c6801a6c
commit
435c49da98
|
@ -955,7 +955,7 @@ SQL;
|
|||
$uri = $file->getAbsoluteFilePath();
|
||||
|
||||
$baseUrl = Application_Common_OsPath::getBaseDir();
|
||||
$downloadURL = "https://".$_SERVER['HTTP_HOST'].$baseUrl."rest/media/$media_id/download";
|
||||
$downloadURL = "http://".$_SERVER['HTTP_HOST'].$baseUrl."rest/media/$media_id/download";
|
||||
$filesize = $file->getFileSize();
|
||||
|
||||
self::createFileScheduleEvent($data, $item, $media_id, $uri, $downloadURL, $filesize);
|
||||
|
|
Loading…
Reference in New Issue