Fix plugin structure for proper GLPI detection

This commit is contained in:
tips-of-mine
2025-05-31 11:31:43 +02:00
committed by GitHub
parent ba05195366
commit 99d308a371
3 changed files with 110 additions and 2 deletions

20
front/rule.php Normal file
View File

@ -0,0 +1,20 @@
<?php
/**
* GLPI CVE Plugin - Rules List
*/
include ("../../../inc/includes.php");
Session::checkRight("plugin_cve_rule", READ);
Html::header(
PluginCveCveRule::getTypeName(Session::getPluralNumber()),
$_SERVER['PHP_SELF'],
"tools",
"PluginCveCveMenu",
"cverule"
);
Search::show('PluginCveCveRule');
Html::footer();