Example #1
0
 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();
 }
Example #2
0
 function __construct($server)
 {
     parent::__construct();
     $this->setServer($server);
 }