Fix: front/ check

This commit is contained in:
Rom1-B
2025-05-05 14:34:29 +02:00
parent 1be089786f
commit 8906da5c5d
8 changed files with 8 additions and 0 deletions

View File

@ -36,6 +36,7 @@
use GlpiPlugin\Example\Example;
include ('../../../inc/includes.php');
Session::checkLoginUser();
if ($_SESSION["glpiactiveprofile"]["interface"] == "central") {
Html::header("TITRE", $_SERVER['PHP_SELF'], "plugins", Example::class, "");