-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathindex.php
29 lines (29 loc) · 924 Bytes
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<!DOCTYPE html>
<!--
Project: Bitcraft Service Desk (An Open Source ITSM Web App)
Lead Devs: Joshua Nasiatka, Allen Perry, Eugene Duffy
For: Software Engineering
Dev Date: Spring 2016
Status: Staging; Idea Testing; Development
-->
<?php
include("modules/mainhead.php");
//redirect per certain permissions
if ((!$myACL->hasPermission('hd_portal')) && ($myACL->hasPermission('eu_portal'))) {
echo "If page is stuck, click <a href='EndUserPortal.php'>here</a> to continue.";
header("location: ../EndUserPortal.php");
exit;
} else if ($myACL->hasPermission('hd_portal')) {
echo "If page is stuck, click <a href='HelpDesk.php'>here</a> to continue.";
header("location: ../HelpDesk.php");
exit;
} else {
echo "You are not entitled to use this system. Please contact your administrator!";
exit;
}
?>
<html>
<?php
include_once 'modules/head.php'; ?>
<body></body>
</html>