bug fix
This commit is contained in:
父節點
7b29e4194b
當前提交
d8fc125307
共有 1 個文件被更改,包括 2 次插入 和 0 次删除
|
|
@ -1,5 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
session_start();
|
||||||
|
|
||||||
// Check if user is logged in and is an admin
|
// Check if user is logged in and is an admin
|
||||||
if (!isset($_SESSION["utilisateur_authentifie"]) || $_SESSION["utilisateur_authentifie"] !== true || !$_SESSION["admin"]) {
|
if (!isset($_SESSION["utilisateur_authentifie"]) || $_SESSION["utilisateur_authentifie"] !== true || !$_SESSION["admin"]) {
|
||||||
header("Location: index.php");
|
header("Location: index.php");
|
||||||
|
|
|
||||||
載入中…
Reference in a new issue