Edit users.php via Editor
This commit is contained in:
parent
da4cd43fc4
commit
77d4a0613d
@ -3,6 +3,9 @@ require_once 'db/config.php';
|
|||||||
require_once 'auth-check.php';
|
require_once 'auth-check.php';
|
||||||
require_once 'auth-helpers.php';
|
require_once 'auth-helpers.php';
|
||||||
|
|
||||||
|
echo "Test";
|
||||||
|
die();
|
||||||
|
|
||||||
// Only Admins can access this page
|
// Only Admins can access this page
|
||||||
if (!can($_SESSION['user_role'], 'user', 'read')) {
|
if (!can($_SESSION['user_role'], 'user', 'read')) {
|
||||||
header('Location: index.php?error=access_denied');
|
header('Location: index.php?error=access_denied');
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user