mirror of
https://github.com/pluginsGLPI/example.git
synced 2025-06-28 06:58:43 +02:00
global code update : namespace and src folder
This commit is contained in:

committed by
Cédric Anne

parent
3351d0f268
commit
9f415e0d32
@ -33,15 +33,17 @@
|
||||
// Purpose of file:
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
use GlpiPlugin\Example\Example;
|
||||
|
||||
include ('../../../inc/includes.php');
|
||||
|
||||
if ($_SESSION["glpiactiveprofile"]["interface"] == "central") {
|
||||
Html::header("TITRE", $_SERVER['PHP_SELF'], "plugins", "pluginexampleexample", "");
|
||||
Html::header("TITRE", $_SERVER['PHP_SELF'], "plugins", Example::class, "");
|
||||
} else {
|
||||
Html::helpHeader("TITRE", $_SERVER['PHP_SELF']);
|
||||
}
|
||||
|
||||
$example = new PluginExampleExample();
|
||||
$example = new Example();
|
||||
$example->display($_GET);
|
||||
|
||||
Html::footer();
|
||||
|
Reference in New Issue
Block a user