Commit 4ee9efa1 authored by cfoe's avatar cfoe
Browse files

hide command line cat if all features are disabled

parent 8cf27634
......@@ -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();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment