Guest Posted August 16, 2006 Share Posted August 16, 2006 This contrib only shows one file. I need to show two. I need some help with that. The part in classes/shipping.php looks like this //DGM 5/13/05 only load USPS if po box // Updated Logic - Start - DA 7-13-06 if ($_SESSION['street_address_po'] == "po box") { if ($include_modules[$i]['file'] == 'pobox.php') { include(DIR_WS_LANGUAGES . $language . '/modules/shipping/' . $include_modules[$i]['file']); include(DIR_WS_MODULES . 'shipping/' . $include_modules[$i]['file']); $GLOBALS[$include_modules[$i]['class']] = new $include_modules[$i]['class']; } } else { include(DIR_WS_LANGUAGES . $language . '/modules/shipping/' . $include_modules[$i]['file']); include(DIR_WS_MODULES . 'shipping/' . $include_modules[$i]['file']); $GLOBALS[$include_modules[$i]['class']] = new $include_modules[$i]['class']; } // Updated Logic - End - DA 7-13-06 } //DGM 4/21/05 Load shipping modules based on PO Box - End Right now it will load pobox.php but i need to load pobox.php and poboxca.php. :huh: Any help would be greatly appreciated. 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.