partially implemented todo tracker
This commit is contained in:
@@ -9,8 +9,8 @@ foreach (glob('components/admin/*.php') as $file)
|
||||
include_once 'components/head.php';
|
||||
|
||||
if (!isset($_SESSION['role_id']))
|
||||
header('Location: user.php');
|
||||
else if ($_SESSION['role_id'] >= 3)
|
||||
header('Location: user.php?view=login');
|
||||
else if ($_SESSION['role_id'] >= contributor)
|
||||
header('Location: user.php?action=view&user_id=' . $_SESSION['user_id']);
|
||||
|
||||
include_once 'functions/admin_functions.php';
|
||||
|
||||
Reference in New Issue
Block a user