Hackademic/hackademic — pull request #14 by petrandr (2012-10-04 22:47:34+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