From 3735a9a2b7443e23f186b2ad7e0ce4a58e4d29e1 Mon Sep 17 00:00:00 2001 From: remicollet Date: Wed, 23 Dec 2009 07:40:13 +0000 Subject: [PATCH] usePlugin() => Plugin::load() git-svn-id: https://forge.glpi-project.org/svn/example/trunk@127 349b9182-4a13-0410-896f-e5e9767dd1b3 --- config.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config.php b/config.php index b9d9e4a..2b88d35 100755 --- a/config.php +++ b/config.php @@ -37,13 +37,13 @@ //header("Location:../../central.php"); // Entry menu case -define('GLPI_ROOT', '../..'); -include (GLPI_ROOT . "/inc/includes.php"); +define('GLPI_ROOT', '../..'); +include (GLPI_ROOT . "/inc/includes.php"); checkRight("config","w"); // To be available when plugin in not activated -usePLugin('example'); +Plugin::load('example'); commonHeader("TITRE",$_SERVER['PHP_SELF'],"config","plugins"); echo "This is the plugin config page
";