/lenasys/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/lenasys/trunk

« back to all changes in this revision

Viewing changes to codeigniter/application/controllers/home.php

  • Committer: Gustav Hatvigsson
  • Date: 2013-05-30 12:08:07 UTC
  • mfrom: (129 lenasys_b)
  • mto: This revision was merged to the branch mainline in revision 131.
  • Revision ID: gustav.hartvigsson@gmail.com-20130530120807-q2mad1xrq003ss2n
mergedĀ fromĀ trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
                        //If the user is logged in
19
19
                        if($this->user->isLoggedIn())
20
20
                        {
21
 
                                $this->load->view('home_view');
 
21
                                redirect(base_url().'cms', 'refresh');
22
22
                        } else {
23
23
                                //Redirect user to login page
24
 
                                redirect(base_url().'login', 'refresh');
 
24
                                redirect(base_url().'start', 'refresh');
25
25
                        }
26
26
                }
27
27
        }