Fixed session start issue with new API
This commit is contained in:
parent
e8a0ace018
commit
0e6e82a0c6
2 changed files with 4 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue