(in did the code for early Oscommerce version and this does not work anymore of course...)
i try to understand the hook system and i thought i could make this code:
Code: Select all
if ( is_int($cID) && ($cID > 0) ) {
$GLOBALS['login_customer_id'] = $cID;
$OSCOM_Hooks->call('siteWide', 'postLogin');
tep_redirect(tep_href_link('shopping_cart.php','ad=recover_cart'));
}
can somebody point me to the right direction?
thank you so much