예제 #1
0
파일: Admin.php 프로젝트: doowebdev/core
 public function __construct(Application $app)
 {
     parent::__construct($app);
     $this->admin_authenticate();
     $this->data['settings'] = $this->app['general_setting_db']->whereFirst('id', 1);
     //sticky
 }
예제 #2
0
파일: Front.php 프로젝트: doowebdev/core
 public function __construct(Application $app)
 {
     parent::__construct($app);
     $this->app = $app;
     $this->app['authUser'] = $this->app['auth']->check();
 }