Posted By

rosselli on 11/01/11


Tagged

auth teste


Versions (?)

teste


 / Published in: PHP
 

  1. public function pollAction()
  2. {
  3. # auth
  4. $a = $this->isAuth();
  5. if($a==1){
  6. $this->user = $_SESSION[''];
  7. } else {
  8. $this->_redirect('');
  9. }
  10.  
  11. if($this->checkUserAlreadyFilledPoll($_SESSION['']['id'],1)==1)
  12. {
  13. $this->_redirect('');
  14. }
  15. }

Report this snippet  

You need to login to post a comment.