Update front/example.php

This commit is contained in:
Stanislas 2025-05-05 14:40:26 +02:00 committed by GitHub
parent 8906da5c5d
commit eff7db51b2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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