KohanaPHP redirection loop

Posted by sorrko on Stack Overflow See other posts from Stack Overflow or by sorrko
Published on 2010-04-01T15:39:30Z Indexed on 2010/04/01 16:13 UTC
Read the original article Hit count: 327

Filed under:
|

Hello,

I got problem. I'm builing an app with KohanaPHP framework and I got rediretion endless loop.

Here's the code I put in constructor oh my main controller:

   if(empty($this->user->real_name)) {
    url::redirect('/');
   }

Any ideas how to solve that issue?

© Stack Overflow or respective owner

Related posts about kohana

Related posts about redirect