mirror of
https://github.com/pluginsGLPI/example.git
synced 2025-06-28 06:58:43 +02:00
fix calls
git-svn-id: https://forge.glpi-project.org/svn/example/trunk@167 349b9182-4a13-0410-896f-e5e9767dd1b3
This commit is contained in:
@ -40,7 +40,7 @@
|
||||
define('GLPI_ROOT', '../..');
|
||||
include (GLPI_ROOT . "/inc/includes.php");
|
||||
|
||||
checkRight("config","w");
|
||||
Session::checkRight("config", "w");
|
||||
|
||||
// To be available when plugin in not activated
|
||||
Plugin::load('example');
|
||||
|
@ -31,7 +31,7 @@
|
||||
define('GLPI_ROOT', '../../..');
|
||||
include (GLPI_ROOT . "/inc/includes.php");
|
||||
|
||||
checkLoginUser();
|
||||
Session::checkLoginUser();
|
||||
|
||||
if (isset($_GET["popup"])) {
|
||||
$_SESSION["glpipopup"]["name"] = $_GET["popup"];
|
||||
|
@ -40,7 +40,7 @@
|
||||
define('GLPI_ROOT', '../..');
|
||||
include (GLPI_ROOT . "/inc/includes.php");
|
||||
|
||||
checkRight("config","w");
|
||||
Session::checkRight("config", "w");
|
||||
|
||||
commonHeader("TITRE",$_SERVER['PHP_SELF'],"plugins");
|
||||
|
||||
|
Reference in New Issue
Block a user