/home/techb158/workloadmatch.com
NameSizeModeActions
.well-known/-0755rm
1iosaek/-0755rm
Admin/-0755rm
api/-0755rm
assets/-0755rm
BackUp/-0744rm
bootstrap/-0755rm
bower_components/-0777rm
bsixuqo/-0755rm
cgi-bin/-0744rm
Client/-0755rm
dist/-0755rm
ge1hbpj/-0755rm
img/-0755rm
includes/-0755rm
js/-0755rm
jvyngoi/-0755rm
layout/-0755rm
LoadMatch/-0755rm
lyfwjeg/-0755rm
Manager/-0755rm
Master/-0755rm
mjes1kn/-0755rm
mralkqo/-0755rm
plugins/-0755rm
quforks/-0755rm
styles/-0755rm
Teacher/-0755rm
vendor/-0755rm
workloadmatch.com/-0750rm
.env7960644editdlrm
.env.example13870644editdlrm
.env_bak3640700editdlrm
.gitignore1420644editdlrm
.git_changed_files.txt00644editdlrm
.git_untracked_files.txt4554690644editdlrm
.htaccess7330644editdlrm
.htaccess-bak.disabled85040644editdlrm
.htaccess.production85040644editdlrm
admin.php00644editdlrm
authorized.php47410644editdlrm
authorized_bak.php.disabled10550644editdlrm
auto_email_notification.php8310644editdlrm
DEPLOY_CHECKLIST.md19920644editdlrm
deploy_fix.php35260644editdlrm
error.php4850644editdlrm
footer.php6300644editdlrm
forgetpassword.php61820644editdlrm
forgetpassword._Bak.php22540644editdlrm
form-newsletter.php6620644editdlrm
form-process.php30900644editdlrm
getlang.php2830644editdlrm
home.php167520644editdlrm
index.php30800644editdlrm
myaccounts.php21920644editdlrm
php.ini6370644editdlrm
postPersons.php18750644editdlrm
reset.php23300644editdlrm
Signup.php220740644editdlrm
vtphrzxy.php73170644editdlrm
workloadmatch-deployment.zip149949080644editdlrm
wp-cron-cqig.php16590644editdlrm
Edit: /home/techb158/workloadmatch.com/index.php (3080B)
'Master', 'manager_profile' => 'Manager', 'teacher_profile' => 'Teacher', 'admin_profile' => 'Admin', ]; $dir = $dirMap[$userType] ?? null; // When a Master is managing a specific Manager, route to Manager pages if ($userType === 'master_profile' && !empty($_SESSION['manage_as'])) { $dir = 'Manager'; } // Allow override via ?as= parameter for cross-role loading (iframes, etc.) $asParam = $_GET['as'] ?? null; if ($asParam && in_array($asParam, ['Master', 'Manager', 'Teacher', 'Admin'])) { $asDirMap = array_flip($dirMap); $asRole = $asDirMap[$asParam] ?? null; if ($asRole) { if ($userType === 'admin_profile') { $dir = $asParam; } elseif ($userType === 'master_profile' && in_array($asParam, ['Master', 'Manager'])) { $dir = $asParam; } } } if ($dir) { $pageFile = __DIR__ . '/' . $dir . '/' . $page . '.php'; if (file_exists($pageFile)) { define('ROUTER_ACTIVE', true); define('ROLE_DIR', $dir); chdir(__DIR__ . '/' . $dir); include $pageFile; exit; } } // 404 http_response_code(404); echo '

Page Not Found

The requested page is not available.

';