diff options
Diffstat (limited to 'dash/index.php')
| -rw-r--r-- | dash/index.php | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/dash/index.php b/dash/index.php new file mode 100644 index 0000000..77e58dc --- /dev/null +++ b/dash/index.php @@ -0,0 +1,18 @@ +<?php +define('HEIRARCHY', 1); + +require('dash_common.php'); +switch ($b_user['type']) { + case 'EMPLOYEE': + require('dash_employee.php'); + break; + case 'EMPLOYER': + require('dash_employer.php'); + break; + case 'ADMIN': + require('dash_admin.php'); + break; + default: + fatal('Your account is misconfigured.', $b_config['base_url'].'logout.php', '← Log Out'); +} +?> |
