mirror of
https://github.com/pluginsGLPI/example.git
synced 2025-06-28 06:58:43 +02:00
usePlugin() => Plugin::load()
git-svn-id: https://forge.glpi-project.org/svn/example/trunk@126 349b9182-4a13-0410-896f-e5e9767dd1b3
This commit is contained in:
@ -37,7 +37,7 @@
|
|||||||
define('GLPI_ROOT', '../../..');
|
define('GLPI_ROOT', '../../..');
|
||||||
include (GLPI_ROOT . "/inc/includes.php");
|
include (GLPI_ROOT . "/inc/includes.php");
|
||||||
|
|
||||||
usePlugin('example',true);
|
Plugin::load('example',true);
|
||||||
|
|
||||||
$dropdown = new PluginExampleDropdown();
|
$dropdown = new PluginExampleDropdown();
|
||||||
include (GLPI_ROOT . "/ajax/dropdown.common.tabs.php");
|
include (GLPI_ROOT . "/ajax/dropdown.common.tabs.php");
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
define('GLPI_ROOT', '../../..');
|
define('GLPI_ROOT', '../../..');
|
||||||
include (GLPI_ROOT . "/inc/includes.php");
|
include (GLPI_ROOT . "/inc/includes.php");
|
||||||
|
|
||||||
usePlugin('example',true);
|
Plugin::load('example',true);
|
||||||
|
|
||||||
$dropdown = new PluginExampleDropdown();
|
$dropdown = new PluginExampleDropdown();
|
||||||
include (GLPI_ROOT . "/front/dropdown.common.form.php");
|
include (GLPI_ROOT . "/front/dropdown.common.form.php");
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
define('GLPI_ROOT', '../../..');
|
define('GLPI_ROOT', '../../..');
|
||||||
include (GLPI_ROOT . "/inc/includes.php");
|
include (GLPI_ROOT . "/inc/includes.php");
|
||||||
|
|
||||||
usePlugin('example',true);
|
Plugin::load('example',true);
|
||||||
|
|
||||||
$dropdown = new PluginExampleDropdown();
|
$dropdown = new PluginExampleDropdown();
|
||||||
include (GLPI_ROOT . "/front/dropdown.common.php");
|
include (GLPI_ROOT . "/front/dropdown.common.php");
|
||||||
|
Reference in New Issue
Block a user