Merge branch '1.9.1' into devel
Conflicts: airtime_mvc/application/controllers/ScheduleController.php airtime_mvc/application/models/Schedule.php airtime_mvc/application/models/StoredFile.php
This commit is contained in:
commit
5a83c5b81e
7 changed files with 46 additions and 9 deletions
|
@ -719,8 +719,9 @@ class ScheduleController extends Zend_Controller_Action
|
|||
|
||||
$file_id = $this->_getParam('id', null);
|
||||
$file = Application_Model_StoredFile::Recall($file_id);
|
||||
|
||||
$url = $file->getFileURL().'/api_key/'.$CC_CONFIG["apiKey"][0].'/download/true';
|
||||
|
||||
$baseUrl = $this->getRequest()->getBaseUrl();
|
||||
$url = $file->getRelativeFileUrl($baseUrl).'/download/true';
|
||||
$menu[] = array('action' => array('type' => 'gourl', 'url' => $url),
|
||||
'title' => 'Download');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue