From 963207e26fdb8e1a7d89d0eb9658360193519639 Mon Sep 17 00:00:00 2001 From: drigato Date: Wed, 3 Dec 2014 18:01:08 -0500 Subject: [PATCH] Trying the PYPO download URL without ssl --- airtime_mvc/application/models/Schedule.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airtime_mvc/application/models/Schedule.php b/airtime_mvc/application/models/Schedule.php index 1c6231254..edcbf7fd0 100644 --- a/airtime_mvc/application/models/Schedule.php +++ b/airtime_mvc/application/models/Schedule.php @@ -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);