Merge branch 'devel' of dev.sourcefabric.org:airtime into devel
Conflicts: airtime_mvc/application/controllers/ApiController.php airtime_mvc/application/models/Webstream.php
This commit is contained in:
commit
645593f954
16 changed files with 1762 additions and 766 deletions
|
@ -337,6 +337,7 @@ class ApiController extends Zend_Controller_Action
|
|||
$this->_helper->viewRenderer->setNoRender(true);
|
||||
|
||||
$data = Application_Model_Schedule::getSchedule();
|
||||
header("Content-Type: application/json");
|
||||
echo json_encode($data, JSON_FORCE_OBJECT);
|
||||
}
|
||||
|
||||
|
@ -701,9 +702,12 @@ class ApiController extends Zend_Controller_Action
|
|||
{
|
||||
$request = $this->getRequest();
|
||||
$dir_id = $request->getParam('dir_id');
|
||||
$all = $request->getParam('all');
|
||||
|
||||
Logging::info("All param is: $all");
|
||||
|
||||
$this->view->files =
|
||||
Application_Model_StoredFile::listAllFiles($dir_id,$all=true);
|
||||
Application_Model_StoredFile::listAllFiles($dir_id,$all);
|
||||
}
|
||||
|
||||
public function listAllWatchedDirsAction()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue