clean for autoload

git-svn-id: https://forge.glpi-project.org/svn/example/trunk@112 349b9182-4a13-0410-896f-e5e9767dd1b3
This commit is contained in:
remicollet 2009-12-08 21:04:24 +00:00
parent 68f5a861bb
commit f33753092c
3 changed files with 0 additions and 9 deletions

View File

@ -34,8 +34,6 @@
// ---------------------------------------------------------------------- // ----------------------------------------------------------------------
$NEEDED_ITEMS = array ('search');
define('GLPI_ROOT', '../../..'); define('GLPI_ROOT', '../../..');
include (GLPI_ROOT . "/inc/includes.php"); include (GLPI_ROOT . "/inc/includes.php");

View File

@ -33,8 +33,6 @@
// Purpose of file: // Purpose of file:
// ---------------------------------------------------------------------- // ----------------------------------------------------------------------
$NEEDED_ITEMS=array("search");
define('GLPI_ROOT', '../../..'); define('GLPI_ROOT', '../../..');
include (GLPI_ROOT . "/inc/includes.php"); include (GLPI_ROOT . "/inc/includes.php");

View File

@ -33,11 +33,6 @@
// Purpose of file: // Purpose of file:
// ---------------------------------------------------------------------- // ----------------------------------------------------------------------
// TODO remove this when autoload ready
foreach (glob(GLPI_ROOT . '/plugins/example/inc/*.php') as $file) {
include_once ($file);
}
// Hook called on profile change // Hook called on profile change
// Good place to evaluate the user right on this plugin // Good place to evaluate the user right on this plugin
// And to save it in the session // And to save it in the session