mirror of
https://github.com/pluginsGLPI/example.git
synced 2025-05-04 18:08:42 +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:
parent
23fb40b22e
commit
29d7e1cf13
@ -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();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user