mirror of
https://github.com/pluginsGLPI/example.git
synced 2025-05-04 18:08:42 +02:00
Fix ACLs
This commit is contained in:
parent
482955914d
commit
32b18bb4a2
@ -39,7 +39,7 @@
|
|||||||
define('GLPI_ROOT', '../..');
|
define('GLPI_ROOT', '../..');
|
||||||
include (GLPI_ROOT . "/inc/includes.php");
|
include (GLPI_ROOT . "/inc/includes.php");
|
||||||
|
|
||||||
Session::checkRight("config", "w");
|
Session::checkRight("config", UPDATE);
|
||||||
|
|
||||||
// To be available when plugin in not activated
|
// To be available when plugin in not activated
|
||||||
Plugin::load('example');
|
Plugin::load('example');
|
||||||
@ -47,4 +47,4 @@ Plugin::load('example');
|
|||||||
Html::header("TITRE",$_SERVER['PHP_SELF'],"config","plugins");
|
Html::header("TITRE",$_SERVER['PHP_SELF'],"config","plugins");
|
||||||
_e("This is the plugin config page", 'example');
|
_e("This is the plugin config page", 'example');
|
||||||
Html::footer();
|
Html::footer();
|
||||||
?>
|
?>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user