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 ('../../../inc/includes.php');
|
||||||
include (GLPI_ROOT . "/inc/includes.php");
|
|
||||||
|
|
||||||
Plugin::load('example',true);
|
Plugin::load('example',true);
|
||||||
|
|
||||||
|
@ -33,8 +33,7 @@
|
|||||||
// ----------------------------------------------------------------------
|
// ----------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
define('GLPI_ROOT', '../../..');
|
include ('../../../inc/includes.php');
|
||||||
include (GLPI_ROOT . "/inc/includes.php");
|
|
||||||
|
|
||||||
Plugin::load('example',true);
|
Plugin::load('example',true);
|
||||||
|
|
||||||
|
@ -32,8 +32,7 @@
|
|||||||
// Purpose of file:
|
// Purpose of file:
|
||||||
// ----------------------------------------------------------------------
|
// ----------------------------------------------------------------------
|
||||||
|
|
||||||
define('GLPI_ROOT', '../../..');
|
include ('../../../inc/includes.php');
|
||||||
include (GLPI_ROOT . "/inc/includes.php");
|
|
||||||
|
|
||||||
if ($_SESSION["glpiactiveprofile"]["interface"] == "central") {
|
if ($_SESSION["glpiactiveprofile"]["interface"] == "central") {
|
||||||
Html::header("TITRE", $_SERVER['PHP_SELF'],"plugins","example","optionname");
|
Html::header("TITRE", $_SERVER['PHP_SELF'],"plugins","example","optionname");
|
||||||
|
@ -27,8 +27,7 @@
|
|||||||
--------------------------------------------------------------------------
|
--------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
|
|
||||||
define('GLPI_ROOT', '../../..');
|
include ('../../../inc/includes.php');
|
||||||
include (GLPI_ROOT . "/inc/includes.php");
|
|
||||||
|
|
||||||
Session::checkLoginUser();
|
Session::checkLoginUser();
|
||||||
|
|
||||||
|
@ -33,8 +33,7 @@
|
|||||||
// ----------------------------------------------------------------------
|
// ----------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
define('GLPI_ROOT', '../../..');
|
include ('../../../inc/includes.php');
|
||||||
include (GLPI_ROOT . "/inc/includes.php");
|
|
||||||
|
|
||||||
$rulecollection = new PluginExampleRuleTestCollection();
|
$rulecollection = new PluginExampleRuleTestCollection();
|
||||||
|
|
||||||
|
@ -33,8 +33,7 @@
|
|||||||
// ----------------------------------------------------------------------
|
// ----------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
define('GLPI_ROOT', '../../..');
|
include ('../../../inc/includes.php');
|
||||||
include (GLPI_ROOT . "/inc/includes.php");
|
|
||||||
|
|
||||||
$rulecollection = new PluginExampleRuleTestCollection();
|
$rulecollection = new PluginExampleRuleTestCollection();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user