First commit / commit pertama
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
require_once __DIR__ . '/config/session.php';
|
||||
require_once __DIR__ . '/config/auth_check.php';
|
||||
startAppSession();
|
||||
if (isLoggedIn()) {
|
||||
header('Location: ' . roleHome(currentRole()));
|
||||
exit;
|
||||
}
|
||||
header('Location: login.php');
|
||||
exit;
|
||||
Reference in New Issue
Block a user