Refactored double Set-Cookie prevention code, and session reopening code
This commit is contained in:
parent
91c584ba16
commit
8b6833180d
8 changed files with 30 additions and 22 deletions
|
@ -32,7 +32,7 @@ class PlaylistController extends Zend_Controller_Action
|
|||
->initContext();
|
||||
|
||||
//This controller writes to the session all over the place, so we're going to reopen it for writing here.
|
||||
session_start(); //Reopen the session for writing
|
||||
SessionHelper::reopenSessionForWriting();
|
||||
}
|
||||
|
||||
private function getPlaylist($p_type)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue