Changeset 60 for Dev/trunk/index.php


Ignore:
Timestamp:
07/28/11 15:22:30 (14 years ago)
Author:
fpvanagthoven
Message:

You now get redirected to mainmenu, when you're already logged in and go to index.php

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Dev/trunk/index.php

    r59 r60  
    1515        echo "please fill in a username and password";
    1616}
     17
     18if (isset($_SESSION['username']))
     19    redirect('mainmenu.php');
    1720?>
    1821
Note: See TracChangeset for help on using the changeset viewer.