public function __construct(Application $app) { parent::__construct($app); $this->admin_authenticate(); $this->data['settings'] = $this->app['general_setting_db']->whereFirst('id', 1); //sticky }
public function __construct(Application $app) { parent::__construct($app); $this->app = $app; $this->app['authUser'] = $this->app['auth']->check(); }