\EcommerceSiteTreeExtension_Controller

Synopsis

class EcommerceSiteTreeExtension_Controller extends Extension {
}

Hierarchy

Extends

  • Extension

Tasks

Line Task
75 check if we even need this (via ShoppingCartsRequirements.ss)

Methods

protected

  • secureHostSwitcher() — Redirect users if found on incorrect domain Detects if $_GET['session'] is present, sets session and redirects back to "clean URL" Both _SECURE_URL and _STANDARD_URL must be defined, and include protocol (http(s)://mydomain.com) with no trailing slash

public