mirror of
https://github.com/pluginsGLPI/example.git
synced 2025-08-23 22:35:48 +02:00
Fix include.php
git-svn-id: https://forge.glpi-project.org/svn/example/trunk@208 349b9182-4a13-0410-896f-e5e9767dd1b3
This commit is contained in:
@@ -33,8 +33,7 @@
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
|
||||
define('GLPI_ROOT', '../../..');
|
||||
include (GLPI_ROOT . "/inc/includes.php");
|
||||
include ('../../../inc/includes.php');
|
||||
|
||||
Plugin::load('example',true);
|
||||
|
||||
|
@@ -33,8 +33,7 @@
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
|
||||
define('GLPI_ROOT', '../../..');
|
||||
include (GLPI_ROOT . "/inc/includes.php");
|
||||
include ('../../../inc/includes.php');
|
||||
|
||||
Plugin::load('example',true);
|
||||
|
||||
|
@@ -32,8 +32,7 @@
|
||||
// Purpose of file:
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
define('GLPI_ROOT', '../../..');
|
||||
include (GLPI_ROOT . "/inc/includes.php");
|
||||
include ('../../../inc/includes.php');
|
||||
|
||||
if ($_SESSION["glpiactiveprofile"]["interface"] == "central") {
|
||||
Html::header("TITRE", $_SERVER['PHP_SELF'],"plugins","example","optionname");
|
||||
|
@@ -27,8 +27,7 @@
|
||||
--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
define('GLPI_ROOT', '../../..');
|
||||
include (GLPI_ROOT . "/inc/includes.php");
|
||||
include ('../../../inc/includes.php');
|
||||
|
||||
Session::checkLoginUser();
|
||||
|
||||
|
@@ -33,8 +33,7 @@
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
|
||||
define('GLPI_ROOT', '../../..');
|
||||
include (GLPI_ROOT . "/inc/includes.php");
|
||||
include ('../../../inc/includes.php');
|
||||
|
||||
$rulecollection = new PluginExampleRuleTestCollection();
|
||||
|
||||
|
@@ -33,8 +33,7 @@
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
|
||||
define('GLPI_ROOT', '../../..');
|
||||
include (GLPI_ROOT . "/inc/includes.php");
|
||||
include ('../../../inc/includes.php');
|
||||
|
||||
$rulecollection = new PluginExampleRuleTestCollection();
|
||||
|
||||
|
Reference in New Issue
Block a user