Jump to content

Log out URL


Recommended Posts

Edit /init.php

Replace

elseif (isset($_GET['mylogout']))
{
    $cookie->mylogout();
   Tools::redirect(isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : NULL);
}



With

elseif (isset($_GET['mylogout']))
{
    $cookie->mylogout();
   Tools::redirect(__PS_BASE_URI__.'page.html');
}

Link to comment
Share on other sites

×
×
  • Create New...