/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-24 14:31:28 UTC
  • mfrom: (90.1.8 lenasys2)
  • Revision ID: gustav.hartvigsson@gmail.com-20130524143128-66hnjkl0cy1rgkgr
Merged Jonsson:s changes so you can display the login box.

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
24
                                redirect(base_url().'start', 'refresh');