Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- class Dashboard extends CI_Controller{
- function __construct(){
- parent::__construct();
- if($this->session->userdata('status') != "login"){
- redirect(base_url());
- }
- }
- function index(){
- $this->load->view('dashboard.php');
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement