Update setup.php
Commented class until config page works properly
This commit is contained in:
@@ -34,10 +34,10 @@ function plugin_init_remotesupport()
|
|||||||
|
|
||||||
$PLUGIN_HOOKS['add_javascript']['remotesupport'][] = 'js/support.js';
|
$PLUGIN_HOOKS['add_javascript']['remotesupport'][] = 'js/support.js';
|
||||||
// Add Config Page
|
// Add Config Page
|
||||||
Plugin::registerClass('PluginRemotesupportConfig', ['addtabon' => 'Config']);
|
// Plugin::registerClass('PluginRemotesupportConfig', ['addtabon' => 'Config']);
|
||||||
|
|
||||||
$PLUGIN_HOOKS["menu_toadd"]['remotesupport'] = ['tools' => 'PluginRemotesupportMenu'];
|
// $PLUGIN_HOOKS["menu_toadd"]['remotesupport'] = ['tools' => 'PluginRemotesupportMenu'];
|
||||||
$PLUGIN_HOOKS['config_page']['remotesupport'] = 'front/index.php';
|
// $PLUGIN_HOOKS['config_page']['remotesupport'] = 'front/index.php';
|
||||||
$PLUGIN_HOOKS['menu']['remotesupport'] = true;
|
$PLUGIN_HOOKS['menu']['remotesupport'] = true;
|
||||||
$PLUGIN_HOOKS['post_init']['remotesupport'] = 'plugin_remotesupport_postinit';
|
$PLUGIN_HOOKS['post_init']['remotesupport'] = 'plugin_remotesupport_postinit';
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user