Edit attendance.php via Editor
This commit is contained in:
parent
7acb928eca
commit
3d54aeb8f0
@ -3,8 +3,8 @@ session_start();
|
|||||||
require_once 'db/config.php';
|
require_once 'db/config.php';
|
||||||
|
|
||||||
if (!isset($_SESSION['user_id'])) {
|
if (!isset($_SESSION['user_id'])) {
|
||||||
header('Location: login.php');
|
//header('Location: login.php');
|
||||||
exit();
|
//exit();
|
||||||
}
|
}
|
||||||
|
|
||||||
$role_name = $_SESSION['role_name'];
|
$role_name = $_SESSION['role_name'];
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user