Cor Posted February 8, 2012 Report Share Posted February 8, 2012 Hello all, When I logout from my site it redirect me to http://www.vbirdva.com/vbv/index.php/'>http://www.vbirdva.com/vbv/index.php/ I wanna change that to http://www.vbirdva.com/vbv/ Where can I change that? Thank you in advange. Regards, Cor Quote Link to comment Share on other sites More sharing options...
Moderators mark1million Posted February 8, 2012 Moderators Report Share Posted February 8, 2012 HI Cor, that setting is in the Core>Modules>Logout>Logout.php Quote Link to comment Share on other sites More sharing options...
Cor Posted February 8, 2012 Author Report Share Posted February 8, 2012 HI Cor, that setting is in the Core>Modules>Logout>Logout.php Hi mark, I have found that, but not sure what I have to change there Regards, Cor Quote Link to comment Share on other sites More sharing options...
Moderators servetas Posted February 8, 2012 Moderators Report Share Posted February 8, 2012 After a quick search i found a "solution". Go to the Logout.php file and replace where: public function index() { Auth::LogOut(); /*redirect back to front page */ header('Location: '.url('/')); #$this->set('redir', SITE_URL); #$this->render('login_complete.tpl'); } with this one: public function index() { Auth::LogOut(); /*redirect back to front page */ $URL="http://www.vbirdva.com/vbv/"; header("Location: $URL"); #$this->set('redir', SITE_URL); #$this->render('login_complete.tpl'); } Tested and works . Quote Link to comment Share on other sites More sharing options...
Cor Posted February 8, 2012 Author Report Share Posted February 8, 2012 Works like a charme. Thank you very much. Regards, Cor Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.