/** * Get the full URL of the page * Example: getShopURL('cart.php') = "http://domain/dir/cart.php * * @param string $url Relative URL OPTIONAL * @param boolean $secure Flag to use HTTPS OPTIONAL * @param array $params Optional URL params OPTIONAL * * @return string */ public function getShopURL($url = '', $secure = null, array $params = array()) { if (!isset($secure) && \XLite\Core\Config::getInstance()->Security->full_customer_security) { $secure = true; } return parent::getShopURL($url, $secure, $params); }
/** * Get the full URL of the page * Example: getShopURL('cart.php') = "http://domain/dir/cart.php * * @param string $url Relative URL OPTIONAL * @param boolean $secure Flag to use HTTPS OPTIONAL * @param array $params Optional URL params OPTIONAL * * @return string */ public function getShopURL($url = '', $secure = null, array $params = array()) { if (null === $secure && $this->isFullCustomerSecurity()) { $secure = true; } return parent::getShopURL($url, $secure, $params); }