]> wagnertech.de Git - timetracker.git/blobdiff - index.php
Added environment_check.php file.
[timetracker.git] / index.php
index d390ebfafe20a7c1ff8f4f3a364dee64d9524067..51e1e016f5d48a86f5f37c460d916369d26b24d7 100644 (file)
--- 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) {
 <?php 
 }
 ?>
-