Fixed session start issue with new API

This commit is contained in:
Albert Santoni 2015-11-06 13:04:33 -05:00
parent e8a0ace018
commit 0e6e82a0c6
2 changed files with 4 additions and 1 deletions

View file

@ -1528,7 +1528,11 @@ class ApiController extends Zend_Controller_Action
$this->view->layout()->disableLayout();
$this->_helper->viewRenderer->setNoRender(true);
Zend_Session::start();
$scheduler = new Application_Model_Scheduler();
session_write_close();
$now = new DateTime("now", new DateTimeZone("UTC"));
$showInstances = CcShowInstancesQuery::create()