Update setup.php

Commented class until config page works properly
This commit is contained in:
Kaya84
2021-11-19 17:41:28 +01:00
committed by GitHub
parent fcee26426f
commit dcd26d4ce6

View File

@@ -34,10 +34,10 @@ function plugin_init_remotesupport()
$PLUGIN_HOOKS['add_javascript']['remotesupport'][] = 'js/support.js';
// Add Config Page
Plugin::registerClass('PluginRemotesupportConfig', ['addtabon' => 'Config']);
// Plugin::registerClass('PluginRemotesupportConfig', ['addtabon' => 'Config']);
$PLUGIN_HOOKS["menu_toadd"]['remotesupport'] = ['tools' => 'PluginRemotesupportMenu'];
$PLUGIN_HOOKS['config_page']['remotesupport'] = 'front/index.php';
// $PLUGIN_HOOKS["menu_toadd"]['remotesupport'] = ['tools' => 'PluginRemotesupportMenu'];
// $PLUGIN_HOOKS['config_page']['remotesupport'] = 'front/index.php';
$PLUGIN_HOOKS['menu']['remotesupport'] = true;
$PLUGIN_HOOKS['post_init']['remotesupport'] = 'plugin_remotesupport_postinit';