X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=index.php;h=51e1e016f5d48a86f5f37c460d916369d26b24d7;hb=e84f77ca5b0a5470425cac47aa90563508793699;hp=d390ebfafe20a7c1ff8f4f3a364dee64d9524067;hpb=098a79f0819ebb89b7d48df4a6b154af4560f68e;p=timetracker.git diff --git a/index.php b/index.php index d390ebfa..51e1e016 100644 --- a/index.php +++ b/index.php @@ -33,10 +33,9 @@ if ($auth->isAuthenticated()) { if ($user->isAdmin()) { header('Location: admin_teams.php'); exit(); - } - else if ($user->isClient()) { + } elseif ($user->isClient()) { header('Location: reports.php'); - exit(); + exit(); } } @@ -78,4 +77,3 @@ if ($mobileBrowser) { -