function __construct() { parent::__construct(); // auth the user after all the plugins and pages have registered so they can respond to events $this->session()->tryAuthUser(); $this->upgrade(); }
function __construct($server) { parent::__construct(); $this->setServer($server); }