- Anton Makarenko
Total Posts: 184
Los Angeles, CA
> How/where is it determined whether a page is served as secure or insecure?
in Mage_Core_Model_Url, search by text “[’_secure’]”.
To see examples, open Mage_Customer_Block_Account_Dashboard and look at any func, that generates a secure URL:
public function getAddressEditUrl($address)
return Mage::getUrl('customer/address/edit', array('_secure'=>true, 'id'=>$address->getId()));