/** * Only create a Member object on the Frontend of the site. * There is no need to create this in the Administration context * as authenticated users are Authors and are handled by Symphony, * not this extension. */ public function __construct() { if (class_exists('Symphony') && Symphony::Engine() instanceof Frontend) { $this->Member = new SymphonyMember($this); } extension_Members::$entryManager = new EntryManager(Symphony::Engine()); if (!extension_Members::$initialised) { extension_Members::initialise(); } }