Ignore:
Timestamp:
Oct 28, 2014 6:37:49 PM (11 years ago)
Author:
namnd
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pro-violet-viettel/sourcecode/application/modules/frontend/controllers/lecture.php

    r323 r326  
    1313        {
    1414                parent::__construct();
    15                 $this->load->library('session');
    1615        }
    1716
     
    1918        {       
    2019                $user_info = $this->session->userdata('userInfo');
    21                 if ($user_info){
     20                if (isset($user_info)){
    2221                        $this->load->view ( 'lecture_editor');
    23                 }else
    24                 {
     22
     23                }else{
    2524                        redirect('/frontend/home/');
    2625                }
     26               
    2727        }
    2828}
Note: See TracChangeset for help on using the changeset viewer.