SHARE
TWEET

controller dashboard

arifvoyager Nov 8th, 2019 116 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.  
  3. class Dashboard extends CI_Controller{
  4.  
  5.     function __construct(){
  6.         parent::__construct();
  7.    
  8.         if($this->session->userdata('status') != "login"){
  9.             redirect(base_url());
  10.         }
  11.     }
  12.  
  13.     function index(){
  14.         $this->load->view('dashboard.php');
  15.     }
  16. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top