Add inc directory with class remotesupport
- add dependency on fusioninventory
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
define('PLUGIN_REMOTESUPPORT_VERSION', '0.0.1');
|
||||
define('PLUGIN_REMOTESUPPORT_MIN_GLPI', '9.5.0');
|
||||
define('PLUGIN_REMOTESUPPORT_MAX_GLPI', '9.6.0');
|
||||
define("PLUGIN_REMOTESUPPORT_DIR", GLPI_ROOT . "/plugins/remotesupport");
|
||||
|
||||
function plugin_init_remotesupport()
|
||||
{
|
||||
@@ -32,7 +33,13 @@ function plugin_init_remotesupport()
|
||||
|
||||
if (Plugin::isPluginActive('remotesupport')) {
|
||||
|
||||
$PLUGIN_HOOKS['add_javascript']['remotesupport'][] = 'js/support.js';
|
||||
// $PLUGIN_HOOKS['add_javascript']['remotesupport'][] = 'js/support.js';
|
||||
include(PLUGIN_REMOTESUPPORT_DIR . "/inc/remotesupport.class.php");
|
||||
|
||||
$PLUGIN_HOOKS['autoinventory_information']['remotesupport'] = array(
|
||||
'Computer' => array('PluginRemoteSupportComputer', 'showInfo')
|
||||
);
|
||||
|
||||
// Add Config Page
|
||||
// Plugin::registerClass('PluginRemotesupportConfig', ['addtabon' => 'Config']);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user