Created
July 12, 2011 15:17
-
-
Save rynop/1078183 to your computer and use it in GitHub Desktop.
activate session in view if it was activated in component
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//If the session has been activated in the controller, activate it in the view | |
if($this->Session->started()){ | |
$this->Session->activate(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment