From d55b845e9c35a0ce1f26be1621224c2c82a7d5b8 Mon Sep 17 00:00:00 2001 From: nw-engineer Date: Tue, 19 Apr 2022 17:51:40 +0900 Subject: [PATCH] Corrected the link path when adding a command. --- inc/shellcommand.class.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/inc/shellcommand.class.php b/inc/shellcommand.class.php index 637f60d..9be10d0 100644 --- a/inc/shellcommand.class.php +++ b/inc/shellcommand.class.php @@ -484,16 +484,16 @@ static function getMenuContent() { $menu['options']['shellcommand']['title'] = _n('Shell Command', 'Shell Commands', 2, 'shellcommands'); $menu['options']['shellcommand']['page'] = PLUGIN_SHELLCOMMANDS_NOTFULL_DIR.'/front/shellcommand.php'; - $menu['options']['shellcommand']['links']['add'] = PLUGIN_SHELLCOMMANDS_NOTFULL_DIR.'front/shellcommand.form.php'; - $menu['options']['shellcommand']['links']['search'] = PLUGIN_SHELLCOMMANDS_NOTFULL_DIR.'front/shellcommand.php'; + $menu['options']['shellcommand']['links']['add'] = PLUGIN_SHELLCOMMANDS_NOTFULL_DIR.'/front/shellcommand.form.php'; + $menu['options']['shellcommand']['links']['search'] = PLUGIN_SHELLCOMMANDS_NOTFULL_DIR.'/front/shellcommand.php'; $menu['options']['commandgroup']['title'] = _n('Command group', 'Command groups', 2, 'shellcommands'); - $menu['options']['commandgroup']['page'] = PLUGIN_SHELLCOMMANDS_NOTFULL_DIR.'front/commandgroup.php'; - $menu['options']['commandgroup']['links']['add'] = PLUGIN_SHELLCOMMANDS_NOTFULL_DIR.'front/commandgroup.form.php'; - $menu['options']['commandgroup']['links']['search'] = PLUGIN_SHELLCOMMANDS_NOTFULL_DIR.'front/commandgroup.php'; + $menu['options']['commandgroup']['page'] = PLUGIN_SHELLCOMMANDS_NOTFULL_DIR.'/front/commandgroup.php'; + $menu['options']['commandgroup']['links']['add'] = PLUGIN_SHELLCOMMANDS_NOTFULL_DIR.'/front/commandgroup.form.php'; + $menu['options']['commandgroup']['links']['search'] = PLUGIN_SHELLCOMMANDS_NOTFULL_DIR.'/front/commandgroup.php'; $menu['options']['advanced_execution']['title'] = _n('Advanced execution', 'Advanced executions', 2, 'shellcommands'); - $menu['options']['advanced_execution']['page'] = PLUGIN_SHELLCOMMANDS_NOTFULL_DIR.'front/advanced_execution.php'; + $menu['options']['advanced_execution']['page'] = PLUGIN_SHELLCOMMANDS_NOTFULL_DIR.'/front/advanced_execution.php'; $menu['icon'] = self::getIcon();