Skip to content
Snippets Groups Projects
Commit 4ee9efa1 authored by cfoe's avatar cfoe
Browse files

hide command line cat if all features are disabled

parent 8cf27634
No related branches found
No related tags found
2 merge requests!46Master,!21Master
......@@ -108,6 +108,8 @@ $module["nav"][] = array( 'title' => 'Web Access',
// CMD menu
if($app->auth->get_client_limit($userid,'shell_user') != 0 OR $app->auth->get_client_limit($userid,'cron') != 0)
{
$items=array();
if($app->auth->get_client_limit($userid,'shell_user') != 0)
......@@ -127,7 +129,7 @@ $items[] = array( 'title' => "Cron Jobs",
$module["nav"][] = array( 'title' => 'Command Line',
'open' => 1,
'items' => $items);
}
// APS menu
$items = array();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment