Refactored double Set-Cookie prevention code, and session reopening code

This commit is contained in:
Albert Santoni 2015-09-25 12:03:10 -04:00
parent 91c584ba16
commit 8b6833180d
8 changed files with 30 additions and 22 deletions

View file

@ -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)