Hackademic/hackademic — pull request #15 by petrandr (2012-10-04 22:56:43+00:00)
Title: fixed the issue #12 by rewording the if then else statement at function ...

...__construct() old function: if the user is not an admin or teacher, go to /admin/pages/login.php. new function: if the user is admin or teacher go to admin area, else if the user is not an admin or teacher return back to main site.

Signed-off-by: Petros Andreou