Pages

Sunday, June 9, 2013

Cakephp->check if there was a referrer page/last page

Cakephp check for a last page/redirect to last page


 if($this->reffrrer()!='/')  
 {  
 $this->redirect($this->reffrrer());
 }  
 This works in controller 

1 comment: