function index()
 {
     $username = $this->session->userdata('username');
     $password = $this->session->userdata('userpassword');
     $this->phpbb_bridge->user_login($username, $password);
     ciredirect('forum');
 }
 function index()
 {
     if (!$this->tank_auth->is_logged_in()) {
         ciredirect('/auth/login/');
     } else {
         $data['user_id'] = $this->tank_auth->get_user_id();
         $data['username'] = $this->tank_auth->get_username();
         //$this->load->view('welcome', $data);
         ciredirect('Phpbb_library_test');
     }
 }
Beispiel #3
0
 function filter_per_category($id, $module)
 {
     $CI =& get_instance();
     $filterakses = array("id_lang" => "where/" . GetIDLang(), "is_publish" => "where/publish", "id" => "where/" . $id);
     $qakses = GetAll($module . "_category", $filterakses);
     if ($qakses->num_rows() == 0) {
         ciredirect(site_url($module));
     }
 }
 /**
  * Show info message
  *
  * @param	string
  * @return	void
  */
 function _show_message($message)
 {
     $this->session->set_flashdata('message', $message);
     ciredirect('/auth/');
 }