Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Login Main Page


RivalCloud

Recommended Posts

Posted

It's in login.php. Here is the code:

 

if (sizeof($navigation->snapshot) > 0) {

$origin_href = tep_href_link($navigation->snapshot['page'], tep_array_to_string($navigation->snapshot['get'], array(tep_session_name())), $navigation->snapshot['mode']);

$navigation->clear_snapshot();

tep_redirect($origin_href);

} else {

tep_redirect(tep_href_link(FILENAME_DEFAULT));

}

 

This means that if you come from somewhere and you are redirected to login, you are sent back to there. If there is nothing in the navigation snapshot, you are sent to the default page. you could easily change that.

HTH

 

Gunter

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...