View Single Post
  #267  
Old 12-13-2004, 07:52 AM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default

For 4.0.8 login.php

FIND:
Code:
if (!func_is_cart_empty($cart)) { if(strpos($HTTP_REFERER, "mode=auth") === false) { func_header_location($redirect_to."/cart.php"); } else { func_header_location($redirect_to."/cart.php?mode=checkout"); }

Replace with:

Code:
if (!func_is_cart_empty($cart)) { if($redirect2 == "checkout") func_header_location($redirect_to."/cart.php?mode=checkout"); elseif(strpos($HTTP_REFERER, "mode=auth") === false) { func_header_location($redirect_to."/cart.php"); } else { func_header_location($redirect_to."/cart.php?mode=checkout"); }
Reply With Quote