Jump to content

Recommended Posts

Posted

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 :D

Regards,

Cor

  • Moderators
Posted

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 :).

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...