diff options
| author | Bulletin <bulletin@bulletinalpha.tk> | 2016-12-29 16:42:32 -0500 |
|---|---|---|
| committer | Bulletin <bulletin@bulletinalpha.tk> | 2016-12-29 16:42:32 -0500 |
| commit | 1a7fa60f6cb2ee26843ca19e37bb4ff44104ad55 (patch) | |
| tree | 2fa1fbdea9992ab63ba2a7abbac8bbcd633d13f7 /dash/index.php | |
| download | bulletin-1a7fa60f6cb2ee26843ca19e37bb4ff44104ad55.tar.gz | |
Added existing progress
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'); +} +?> |
