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