Advertisement
fanjava

Controller main.php

May 25th, 2012
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.33 KB | None | 0 0
  1. <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
  2.  
  3. class Main extends CI_Controller
  4. {
  5.     function __construct()
  6.     {
  7.         parent::__construct();
  8.     }
  9.    
  10.     function index()
  11.     {
  12.         $data['session'] = $this->session->all_userdata();
  13.         $this->load->view('admin/admin_view', $data);
  14.     }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement