Edit roles.php via Editor

This commit is contained in:
Flatlogic Bot 2025-12-07 20:06:06 +00:00
parent 93f530e4f6
commit 1839023496

View File

@ -3,8 +3,8 @@ session_start();
// Authentication check // Authentication check
if (!isset($_SESSION['user_id']) || $_SESSION['role_name'] !== 'admin') { if (!isset($_SESSION['user_id']) || $_SESSION['role_name'] !== 'admin') {
header('Location: login.php'); //header('Location: login.php');
exit(); //exit();
} }
require_once 'db/config.php'; require_once 'db/config.php';