Changed PYPO's download URL scheme from https to http

This commit is contained in:
drigato 2014-12-08 13:57:28 -05:00
parent 70c6801a6c
commit 435c49da98
1 changed files with 1 additions and 1 deletions

View File

@ -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);