/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/cms.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:
21
21
                        'ssn' => '0000',
22
22
                        'activeCourse' => 'DA525G');
23
23
                        $this->session->set_userdata('authenticated', $loginDetails);
24
 
                        redirect('/cms');
 
24
                        redirect(base_url().'cms', 'refresh');
25
25
                }
26
26
                public function tempLogout() {
27
27
                        $this->load->model('user');
28
28
                        $this->session->unset_userdata('authenticated');
29
 
                        redirect('/cms');
 
29
                        redirect(base_url().'home', 'refresh');
30
30
                }
31
31
                /*
32
32
                 *      This function runs when the user navigates directly to this controller