source: pro-violet-viettel/sourcecode/application/modules/frontend/controllers/lecture.php @ 439

Last change on this file since 439 was 395, checked in by namnd, 11 years ago
File size: 560 bytes
Line 
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
2/**
3 * Lecture Class
4 *
5 * @author dzungnv02
6 *
7 */
8
9class Lecture extends MX_Controller
10{
11       
12        public function __construct()
13        {
14                parent::__construct();
15        }
16
17        public function index()
18        {       
19                $user_info = $this->session->userdata('userInfo');
20                if ($user_info){
21                        $this->load->view ( 'lecture_editor');
22
23                }else{
24                        redirect('/frontend/home/');
25                }
26               
27        }
28}
29
30/* End of file home.php */
31/* Location: ./application/modules/frontend/controllers/Lecture.php */
Note: See TracBrowser for help on using the repository browser.