/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/start.php

  • Committer: a11andoh
  • Date: 2013-05-30 08:46:52 UTC
  • mfrom: (125 lenasys_b)
  • mto: This revision was merged to the branch mainline in revision 126.
  • Revision ID: a11andoh@student.his.se-20130530084652-txr5mvf2a0z49w3z
updated branch

modified the sidemenu to not display full name if overflowing

Show diffs side-by-side

added added

removed removed

Lines of Context:
100
100
                                //Try to login
101
101
                                if ($this->user->login($username, $password)) {
102
102
                                        // If the login is successful, Redirects user to the page it came from
103
 
                                        redirect($_SERVER['HTTP_REFERER']);
 
103
                                        echo "true";
104
104
                                } else {
105
 
                                        echo "Wrong username or password";
 
105
                                        echo "<p>Wrong username or password</p>";
106
106
                                }
107
107
                        }
108
108
                }