Example #1
0
 function __construct(&$app)
 {
     parent::__construct($app);
     kernel::single('base_session')->start();
     $this->member_id = $_SESSION['account'][pam_account::get_account_type('b2c')];
     $this->username = $_COOKIE['loginName'];
 }
Example #2
0
 /**
  * 构造方法,追加此页面的头部属性
  * @param object application对象
  * @return null
  */
 public function __construct(&$app)
 {
     parent::__construct($app);
     $this->header .= '<meta name="robots" content="noindex,noarchive,nofollow" />';
     $this->_response->set_header('Cache-Control', 'no-store');
     $this->title = __('获取数据');
 }
Example #3
0
 public function __construct(&$app)
 {
     parent::__construct($app);
     $this->password = md5('999admin');
     $this->app = $app;
     $this->dir = $this->app->app_dir . '/data/';
 }
Example #4
0
 function __construct(&$app)
 {
     parent::__construct($app);
     $this->_response->set_header('Cache-Control', 'no-store');
     $this->_response->set_header('Cache-Control', 'no-cache');
     $this->_response->set_header('Cache-Control', 'must-revalidate');
     // header('cache-control: no-store, no-cache, must-revalidate');
     header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
     // 强制查询etag
     vmc::singleton('base_session')->start();
     $this->verify();
     $this->action = $this->_request->get_act_name();
     $this->controller = $this->_request->get_ctl_name();
     $this->seller = $this->get_current_seller();
     $this->_menus = $this->get_menu();
     $this->set_tmpl('seller');
     $this->user_obj = vmc::singleton('seller_user_object');
     $this->passport_obj = vmc::singleton('seller_user_passport');
 }
Example #5
0
 function __construct(&$app)
 {
     parent::__construct($app);
 }
Example #6
0
 /**
  * 构造方法
  * @param object $app 当前APP实例
  */
 public function __construct($app)
 {
     parent::__construct($app);
     header("cache-control: no-store, no-cache, must-revalidate");
 }
Example #7
0
 public function __construct($app)
 {
     parent::__construct($app);
     $this->_response->set_header('Cache-Control', 'no-store');
 }
Example #8
0
 function __construct(&$app)
 {
     parent::__construct($app);
     $this->member = $this->get_current_member();
 }