示例#1
0
 function __construct()
 {
     parent::__construct();
     $this->load->helper('url');
     $this->load->model('Functions', 'twfunctions');
     $this->userValid = $this->_validateUser(array('connection', 'friends', 'followers', 'followings', 'contacts', 'groups'));
 }
示例#2
0
 function __construct()
 {
     parent::__construct();
     $this->load->helper('url');
     $this->load->model('Functions', 'twfunctions');
     $this->userValid = $this->_validateUser(array('contacts'));
 }
示例#3
0
 function __construct()
 {
     parent::__construct();
     parse_str($_SERVER['QUERY_STRING'], $_GET);
     $this->load->helper('url');
     $this->load->model('Functions', 'twfunctions');
     $this->userValid = $this->_validateUser(array('search'));
 }
示例#4
0
 function __construct()
 {
     parent::__construct();
     $this->load->library('session');
     $this->load->helper('url');
     $this->load->model('Functions', 'twfunctions');
     $this->load->helper('string');
 }
示例#5
0
 public function __construct()
 {
     parent::__construct();
     if (!$this->player_security->hasAccess('WebAdmin')) {
         show_404();
     }
     $this->breadcrumb = array(array('url' => 'admin/', 'name' => 'Admin'), array('url' => 'admin_cms/', 'name' => 'CMS'));
 }
示例#6
0
 public function __construct()
 {
     parent::__construct();
     // yeah lets just hide all this admin stuff...
     if (!$this->player_security->hasAccess('WebAdmin')) {
         show_404();
     }
     $this->breadcrumb = array(array('url' => 'admin/', 'name' => 'Admin'), array('url' => 'admin_metrics/', 'name' => 'System Metrics'));
 }
示例#7
0
文件: player.php 项目: zreqdf/twsite
 public function __construct()
 {
     parent::__construct();
 }