All pastes #630406 Raw Edit

Untitled

public php v1 · immutable
·published 2007-07-23 04:49 UTC
rendered paste body
	function __validateLoginStatus() {		if ( $this->action != 'login' ) {			if( $this->Session->check('User') ) {				$this->redirect('/users/login');				$this->Session->setFlash('The URL you\'ve followed requires you login.');			}		}	}