/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: elof.bigestans at gmail
  • Date: 2013-05-27 12:01:10 UTC
  • mfrom: (105 lenasys_b)
  • mto: This revision was merged to the branch mainline in revision 107.
  • Revision ID: elof.bigestans@gmail.com-20130527120110-05decmi92i3qjupg
* Merged trunk
* Added new files relating to login functionality 
* Added login and logout functions to start controller

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');