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']; }
/** * 构造方法,追加此页面的头部属性 * @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 = __('获取数据'); }
public function __construct(&$app) { parent::__construct($app); $this->password = md5('999admin'); $this->app = $app; $this->dir = $this->app->app_dir . '/data/'; }
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'); }
function __construct(&$app) { parent::__construct($app); }
/** * 构造方法 * @param object $app 当前APP实例 */ public function __construct($app) { parent::__construct($app); header("cache-control: no-store, no-cache, must-revalidate"); }
public function __construct($app) { parent::__construct($app); $this->_response->set_header('Cache-Control', 'no-store'); }
function __construct(&$app) { parent::__construct($app); $this->member = $this->get_current_member(); }